Skip to content

flatpickr v1.8.9

Compare
Choose a tag to compare
@chmln chmln released this 09 Jul 20:54

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 of data-enableTime=true
  • Using flatpickr with keyboard is now seamless
    • esc key now also closes calendar

Breaking Changes:

  • timeFormat has been removed, and merged with dateFormat/altFormat.
    • That having said, when enableTime is true, the default formats are also adjusted

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/