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
| allowOnlyNumbers | boolean | no | true | Allows the user enter only numbers |
79
-
| autoComplete | string | no | -- | Specifies if the input should have autocomplete enabled |
80
-
| clearIcon | SemanticICONS \| React.ReactElement | no | 'close' | An [icon from semantic-ui-react](https://react.semantic-ui.com/elements/icon/) or a custom component. The custom component will get two props: `data-testid` and `onClick`. |
81
-
| clearOnSameDateClick | boolean | no | true | Controls whether the datepicker's state resets if the same date is selected in succession. |
82
-
| clearable | boolean | no | true | Allows the user to clear the value |
83
-
| datePickerOnly | boolean | no | false | Allows the date to be selected only via the date picker and disables the text input |
84
-
| filterDate | function | no | (date) => true | Function that receives each date and returns a boolean to indicate whether it is enabled or not |
85
-
| format | string | no | 'YYYY-MM-DD' | Specifies how the date will be formatted using the [date-fns' format](https://date-fns.org/v1.29.0/docs/format)|
86
-
| icon | SemanticICONS \| React.ReactElement | no | 'calendar' | An [icon from semantic-ui-react](https://react.semantic-ui.com/elements/icon/) or a custom component. The custom component will get two props: `data-testid` and `onClick`. |
87
-
| inline | boolean | no | false | Uses an inline variant, without the input and the features related to it, e.g. clearable datepicker |
88
-
| keepOpenOnClear | boolean | no | false | Keeps the datepicker open (or opens it if it's closed) when the clear icon is clicked |
89
-
| keepOpenOnSelect | boolean | no | false | Keeps the datepicker open when a date is selected |
90
-
| locale | string | no | 'en-US' | Filename of the locale to be used. PS: Feel free to submit PR's with more locales! |
91
-
| onBlur | function | no | (event) => {} | Callback fired when the input loses focus |
92
-
| onFocus | function | no | (event) => {} | Callback fired when the input gets focused focus |
93
-
| onChange | function | no | (event, data) => {} | Callback fired when the value changes |
94
-
| pointing | string | no | 'left' | Location to render the component around input. Available options: 'left', 'right', 'top left', 'top right' |
95
-
| showToday | boolean | no | true | Hides the "Today" button if false |
96
-
| type | string | no | basic | Type of input to render. Available options: 'basic' and 'range' |
97
-
| value | Date\|Date[]| no | -- | The value of the datepicker |
| allowOnlyNumbers | boolean | no | true | Allows the user enter only numbers |
79
+
| autoComplete | string | no | -- | Specifies if the input should have autocomplete enabled |
80
+
| clearIcon | SemanticICONS \| React.ReactElement | no | 'close' | An [icon from semantic-ui-react](https://react.semantic-ui.com/elements/icon/) or a custom component. The custom component will get two props: `data-testid` and `onClick`. |
81
+
| clearOnSameDateClick | boolean | no | true | Controls whether the datepicker's state resets if the same date is selected in succession. |
82
+
| clearable | boolean | no | true | Allows the user to clear the value |
83
+
| datePickerOnly | boolean | no | false | Allows the date to be selected only via the date picker and disables the text input |
84
+
| filterDate | function | no | (date) => true | Function that receives each date and returns a boolean to indicate whether it is enabled or not |
85
+
| format | string | no | 'YYYY-MM-DD' | Specifies how to format the date using the [date-fns' format](https://date-fns.org/v2.24.0/docs/format)|
86
+
| formatOptions |[options](https://date-fns.org/v2.24.0/docs/format#arguments)| no | -- | Specifies the options to format the date using the [date-fns' format](https://date-fns.org/v2.24.0/docs/format)|
87
+
| icon | SemanticICONS \| React.ReactElement | no | 'calendar' | An [icon from semantic-ui-react](https://react.semantic-ui.com/elements/icon/) or a custom component. The custom component will get two props: `data-testid` and `onClick`. |
88
+
| inline | boolean | no | false | Uses an inline variant, without the input and the features related to it, e.g. clearable datepicker |
89
+
| keepOpenOnClear | boolean | no | false | Keeps the datepicker open (or opens it if it's closed) when the clear icon is clicked |
90
+
| keepOpenOnSelect | boolean | no | false | Keeps the datepicker open when a date is selected |
91
+
| locale | string | no | 'en-US' | Filename of the locale to be used. PS: Feel free to submit PR's with more locales! |
92
+
| onBlur | function | no | (event) => {} | Callback fired when the input loses focus |
93
+
| onFocus | function | no | (event) => {} | Callback fired when the input gets focused focus |
94
+
| onChange | function | no | (event, data) => {} | Callback fired when the value changes |
95
+
| pointing | string | no | 'left' | Location to render the component around input. Available options: 'left', 'right', 'top left', 'top right' |
96
+
| showToday | boolean | no | true | Hides the "Today" button if false |
97
+
| type | string | no | basic | Type of input to render. Available options: 'basic' and 'range' |
98
+
| value | Date\|Date[]| no | -- | The value of the datepicker |
0 commit comments