You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+14-5
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ this component is a simple react component that use [jb-date-input](https://gith
32
32
Demo & Sample
33
33
in github: <https://javadbat.github.io/jb-date-input-react/>
34
34
in codepen: <https://codepen.io/javadbat/pen/qBRyYKY>
35
+
in codeSandBox: [codeSandbox preview](https://3f63dj.csb.app/samples/jb-date-input) for just see the demo and [codeSandbox editor](https://codesandbox.io/p/sandbox/jb-design-system-3f63dj?file=%2Fsrc%2Fsamples%2FJBDateInput.tsx) if you want to see and play with code
35
36
36
37
## instructions
37
38
@@ -59,8 +60,8 @@ import {JBDateInput} from 'jb-date-input-react';
59
60
60
61
## format
61
62
62
-
defualt format of date input is 'YYYY-MM-DDTHH:mm:ss.SSS[Z]' that compatible and exact format of `new Date().toISOString()`
63
-
you can change it however you need and `[Z]` mean the exact Z charecter that used in ISO standard format `YYYY-MM-DDTHH:mm:ss.SSSZ[Z]` => `2012-06-21T00:00:00.000+3:30Z`
63
+
default format of date input is 'YYYY-MM-DDTHH:mm:ss.SSS[Z]' that compatible and exact format of `new Date().toISOString()`
64
+
you can change it however you need and `[Z]` mean the exact Z character that used in ISO standard format `YYYY-MM-DDTHH:mm:ss.SSSZ[Z]` => `2012-06-21T00:00:00.000+3:30Z`
64
65
you can change format by format attribute:
65
66
66
67
```jsx
@@ -186,9 +187,9 @@ when date input value is empty we show today year and month in opened calendar b
@@ -297,4 +298,12 @@ in jb-input you can put icon or any other custom html DOM in input box. to doing
297
298
<div slot="end-section">after</div>
298
299
<div slot="start-section">before</div>
299
300
</JBDateInput>
300
-
```
301
+
```
302
+
303
+
## Other Related Docs:
304
+
305
+
- see [jb-date-input](https://github.com/javadbat/jb-date-input) if you want to use this component as a web-component
306
+
307
+
- see [All JB Design system Component List](https://github.com/javadbat/design-system/blob/master/docs/component-list.md) for more components
308
+
309
+
- use [Contribution Guide](https://github.com/javadbat/design-system/blob/master/docs/contribution-guide.md) if you want to contribute in this component.
<JBDateInputlabel="with min and max value:"value="2020-08-10T08:51:23.176Z"min="2020-08-05T08:51:23.176Z"max="2020-08-15T08:51:23.176Z">{}</JBDateInput>
0 commit comments