config-options
Configs
Configuration Options
Name | Type | Default | Description |
---|---|---|---|
format | string | YYYY-MM-DD | Date format to be used in the input |
closeOnDateSelect | boolean | true | Close the datepicker on date select |
disableAfterToday | boolean | false | Disable dates after today |
disableBeforeToday | boolean | false | Disable dates before today |
disableToday | boolean | false | Disable today |
markHolidays | boolean | true | Mark holidays |
holidays | array | ['Saturday'] | Holidays to be marked |
indicateCurrentDate | boolean | true | Indicate current date |
setCurrentDate | boolean | false | Set current date |
position | string | left | Position of the datepicker Available options: left, right, center |
daysFormat | string | dd | Format of the days Available options: ddd, dd, d |
locale | string | np | Locale of the datepicker Available options: np, en |
theme | string | flat | Theme of the datepicker Available options: bordered, soft, flat |
darkMode | boolean | false | Dark mode |