mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
Apply flatpickrProps after default flatpickr options
This commit is contained in:
parent
912d3796f0
commit
9f66e8f88b
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,6 @@ async function createCalendar({ options, base, input, dispatch }) {
|
|||
}
|
||||
|
||||
return new flatpickr(base, {
|
||||
...options,
|
||||
allowInput: true,
|
||||
disableMobile: true,
|
||||
clickOpens: true,
|
||||
|
@ -94,6 +93,7 @@ async function createCalendar({ options, base, input, dispatch }) {
|
|||
updateClasses(instance);
|
||||
updateMonthNode(instance);
|
||||
},
|
||||
...options,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue