New:
self.config.enable[]
to disable all dates except the ones specified- You may omit the true when setting options through data attributes.
- e.g using
data-enableTime
instead ofdata-enableTime=true
- e.g using
- Using flatpickr with keyboard is now seamless
- esc key now also closes calendar
Breaking Changes:
timeFormat
has been removed, and merged withdateFormat
/altFormat
.- That having said, when
enableTime
is true, the default formats are also adjusted
- That having said, when
Fixed:
- Positioning issues
- onChange behavior
- self.toggle() not working
- self.clear() - clears altInput if applicable
See all the fixes and improvements
And check out the new demos and examples at https://chmln.github.io/flatpickr/