Releases: kodaicoder/svelte-flatpickr-plus
Releases · kodaicoder/svelte-flatpickr-plus
V2.0.1
Fix: theme changer to adding css file from npmcdn instead of local css file
V2.0
Full Changelog:
V1.0.10...V2.0
How to Migrate
V1.0 >> V2.0
Change description
- svelte-flatpickr-plus has changed from 4 actions (datePicker, monthPicker, dateRangePicker and monthRangePicker) into only 1 action that you can name it by yourself
- a date range picker you need to adding options object with mode: 'range' and passing it into your named action
- a month picker you need to adding options object with isMonthPicker: true and passing it into your named action
- a month range picker you need to adding options object with isMonthPicker: true and mode: 'range' then passing it into your named action
- fully support on 'multiple' mode on both date picker or month picker
- theme changer has change to working as function that build in svelte-flatpickr-plus itself
V1.0.10
Fix: adding readonly attribute on instance depend on allowInput value (default is true)
V1.0.9
Update flatpickr_plus dependency version to fix issue on using noCalendar:true follwoing this PR kodaicoder/flatpickr_plus#1
V1.0.8
fix: hourElement focus issue
V1.0.7
- fix timepicker not show up
- adjust focusing element on open datepicker and timepicker
V1.0.6
minor bug fix
- disabled on any input will made cursor to be not-allowed and affected on altInput too
- changing 'allowInput' options default to be true, this will made input can get validating on form submit
- according to above 'allowInput' , I just don't want user to input date or time or month manually then I decide to adding function to set altInput to be readonly on 'onOpen' hook and set readonly back to false and got altInput blur on 'onClose' hook.
V1.0.4
Version 1.0.4
- Fix a issue of year dropdown not changing a year value in itself to a correct year while using arrow navigating on month (Jan >> Dec / Dec >> Jan)
- Made disable mobile option as 'false' (not use mobile date picker) by default