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
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,7 @@ Displays an input field complete with custom inputs, native input, and a calenda
108
108
|onCalendarClose|Function called when the calendar closes.|n/a|`() => alert('Calendar closed')`|
109
109
|onCalendarOpen|Function called when the calendar opens.|n/a|`() => alert('Calendar opened')`|
110
110
|onChange|Function called when the user clicks an item on the most detailed view available.|n/a|`(value) => alert('New date is: ', value)`|
111
+
|openCalendarOnFocus|Whether to open the calendar on input focus.|`true`|`false`|
111
112
|required|Whether date input should be required.|`false`|`true`|
112
113
|returnValue|Which dates shall be passed by the calendar to the onChange function and onClick{Period} functions. Can be `"start"`, `"end"` or `"range"`. The latter will cause an array with start and end values to be passed.|`"start"`|`"range"`|
113
114
|showLeadingZeros|Whether leading zeros should be rendered in date inputs.|`false`|`true`|
0 commit comments