File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ DateTimeField
34
34
| ** dateTime** | string | moment().format('x') | Represents the inital dateTime, this string is then parsed by moment.js |
35
35
| ** format** | string | "x" | Defines the format moment.js should use to parse and output the date to onChange |
36
36
| ** inputFormat** | string | "MM/DD/YY h: mm A" | Defines the way the date is represented in the HTML input |
37
- | ** onChange** | function | x => console.log(x) | Callback trigger when the date changes returning new datetime |
37
+ | ** onChange** | function | x => console.log(x) | Callback trigger when the date changes. ` x ` is the new datetime value. |
38
38
| ** showToday** | boolean | true | Highlights today's date |
39
39
| ** daysOfWeekDisabled** | array of integer | [ ] | Disables clicking on some days. Goes from 0 (Sunday) to 6 (Saturday). |
40
40
| ** viewMode** | string or number | 'days' | The default view to display when the picker is shown. ('years', 'months', 'days') |
You can’t perform that action at this time.
0 commit comments