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
|`confirmButtonLabel`| string |`'OK'`| Confirm button inner HTML |
326
-
|`confirmButtonClasses`| array\| string |`['btn', 'btn-sm', 'btn-primary']`| CSS class names that will be added to the confirm button |
327
-
|`date`| date\| string\| null |`null`| Default value of the component |
325
+
|`confirmButtonClasses`| array, string |`['btn', 'btn-sm', 'btn-primary']`| CSS class names that will be added to the confirm button |
326
+
|`date`| date, number, string, null |`null`| Default value of the component |
328
327
|`disabled`| boolean |`false`| Toggle the disabled state for the component. |
329
328
|`disabledDates`| array | null |`null`| Specify the list of dates that cannot be selected. |
330
329
|`firstDayOfWeek`| number |`1`| <p>Sets the day of start week.</p><ul><li>`0` - Sunday</li><li>`1` - Monday</li><li>`2` - Tuesday</li><li>`3` - Wednesday</li><li>`4` - Thursday</li><li>`5` - Friday</li><li>`6` - Saturday</li></ul> |
331
330
|`footer`| boolean |`false`| Toggle visibility of footer element. |
332
331
|`indicator`| boolean |`true`| Toggle visibility or set the content of the input indicator. |
333
-
|`inputDateFormat`| function |`null`| Custom function to format the selected date into a string according to a custom format. |
334
-
|`inputDateParse`| function |`null`| Custom function to parse the input value into a valid Date object. |
332
+
|`inputDateFormat`| function, null|`null`| Custom function to format the selected date into a string according to a custom format. |
333
+
|`inputDateParse`| function, null|`null`| Custom function to parse the input value into a valid Date object. |
335
334
|`inputReadOnly`| boolean |`false`| Toggle the readonly state for the component. |
336
335
|`invalid`| boolean |`false`| Toggle the invalid state for the component. |
337
336
|`locale`| string |`'default'`| Sets the default locale for components. If not set, it is inherited from the navigator.language. |
338
-
|`maxDate`| date\| string\| null |`null`| Max selectable date. |
339
-
|`minDate`| date\| string\| null |`null`| Min selectable date. |
340
-
|`name`| string |`null`| Set the name attribute for the input element. |
337
+
|`maxDate`| date, number, string, null |`null`| Max selectable date. |
338
+
|`minDate`| date, number, string, null |`null`| Min selectable date. |
339
+
|`name`| string, null|`null`| Set the name attribute for the input element. |
341
340
|`placeholder`| string |`'Select time'`| Specifies a short hint that is visible in the input. |
342
341
|`selectAdjacementDays`| boolean |`false`| Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the `showAdjacementDays` option is set to true. |
343
-
|`selectionType`|`'day'`\|`'week'`\|`'month'`\|`'year'`|`day`| Specify the type of date selection as day, week, month, or year. |
342
+
|`selectionType`|`'day'`, `'week'`, `'month'`,`'year'`|`day`| Specify the type of date selection as day, week, month, or year. |
344
343
|`showAdjacementDays`| boolean |`true`| Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month. |
345
344
|`showWeekNumber`| boolean |`false`| Set whether to display week numbers in the calendar. |
346
-
|`size`|`'sm'`\|`'lg'`|`null`| Size the component small or large. |
345
+
|`size`|`'sm'`,`'lg'`|`null`| Size the component small or large. |
347
346
|`timepicker`| boolean |`false`| Provide an additional time selection by adding select boxes to choose times. |
348
347
|`todayButton`| string |`'Today'`| Today button inner HTML |
349
-
|`todayButtonClasses`| array\| string |`['btn', 'btn-sm', 'me-2']`| CSS class names that will be added to the today button |
348
+
|`todayButtonClasses`| array, string |`['btn', 'btn-sm', 'me-2']`| CSS class names that will be added to the today button |
350
349
|`valid`| boolean |`false`| Toggle the valid state for the component. |
351
-
|`weekdayFormat`| number\|'long'\|'narrow'\| 'short' |`2`| Set length or format of day name. |
350
+
|`weekdayFormat`| number, 'long', 'narrow', 'short' |`2`| Set length or format of day name. |
352
351
|`weekNumbersLabel`| string |`null`| Label displayed over week numbers in the calendar. |
|`confirmButton`| string |`'OK'`| Confirm button inner HTML |
368
-
|`confirmButtonClasses`| array\| string |`['btn', 'btn-sm', 'btn-primary']`| CSS class names that will be added to the confirm button |
368
+
|`confirmButtonClasses`| array, string |`['btn', 'btn-sm', 'btn-primary']`| CSS class names that will be added to the confirm button |
369
369
|`disabled`| boolean |`false`| Toggle the disabled state for the component. |
370
-
|`disabledDates`| array\| null |`null`| Specify the list of dates that cannot be selected. |
371
-
|`endDate`| date\| string\| null |`null`| Initial selected to date (range). |
372
-
|`endName`| string |`null`| Set the name attribute for the end date input element. |
370
+
|`disabledDates`| array, null |`null`| Specify the list of dates that cannot be selected. |
371
+
|`endDate`| date, number, string, null |`null`| Initial selected to date (range). |
372
+
|`endName`| string, null|`null`| Set the name attribute for the end date input element. |
373
373
|`firstDayOfWeek`| number |`1`| <p>Sets the day of start week.</p> <ul><li>`0` - Sunday</li><li>`1` - Monday</li><li>`2` - Tuesday</li><li>`3` - Wednesday</li><li>`4` - Thursday</li><li>`5` - Friday</li><li>`6` - Saturday</li></ul> |
374
374
|`footer`| boolean |`false`| Toggle visibility of footer element. |
375
375
|`indicator`| boolean |`true`| Toggle visibility or set the content of the input indicator. |
376
-
|`inputDateFormat`| function |`null`| Custom function to format the selected date into a string according to a custom format. |
377
-
|`inputDateParse`| function |`null`| Custom function to parse the input value into a valid Date object. |
376
+
|`inputDateFormat`| function, null|`null`| Custom function to format the selected date into a string according to a custom format. |
377
+
|`inputDateParse`| function, null|`null`| Custom function to parse the input value into a valid Date object. |
378
378
|`inputReadOnly`| boolean |`false`| Toggle the readonly state for the component. |
379
379
|`invalid`| boolean |`false`| Toggle the invalid state for the component. |
380
380
|`locale`| string |`'default'`| Sets the default locale for components. If not set, it is inherited from the navigator.language. |
381
-
|`maxDate`| date\| string\| null |`null`| Max selectable date. |
382
-
|`minDate`| date\| string\| null |`null`| Min selectable date. |
381
+
|`maxDate`| date, number, string, null |`null`| Max selectable date. |
382
+
|`minDate`| date, number, string, null |`null`| Min selectable date. |
383
383
|`placeholder`| string |`['Start date', 'End date']`| Specifies a short hint that is visible in the input. |
384
384
|`ranges`| object |`{}`| Predefined date ranges the user can select from. |
385
-
|`rangesButtonsClasses`| array\| string |`['btn', 'btn-ghost-secondary']`| CSS class names that will be added to ranges buttons |
385
+
|`rangesButtonsClasses`| array, string |`['btn', 'btn-ghost-secondary']`| CSS class names that will be added to ranges buttons |
386
386
|`selectAdjacementDays`| boolean |`false`| Set whether days in adjacent months shown before or after the current month are selectable. This only applies if the `showAdjacementDays` option is set to true. |
387
-
|`selectionType`|`'day'`\|`'week'`\|`'month'`\|`'year'`|`day`| Specify the type of date selection as day, week, month, or year. |
387
+
|`selectionType`|`'day'`, `'week'`, `'month'`,`'year'`|`day`| Specify the type of date selection as day, week, month, or year. |
388
388
|`separator`| boolean |`true`| Toggle visibility or set the content of the inputs separator. |
389
389
|`showAdjacementDays`| boolean |`true`| Set whether to display dates in adjacent months (non-selectable) at the start and end of the current month. |
390
390
|`showWeekNumber`| boolean |`false`| Set whether to display week numbers in the calendar. |
391
-
|`size`|`'sm'`\|`'lg'`|`null`| Size the component small or large. |
0 commit comments