lightweight, powerful javascript datetimepicker with no dependencies
lightweight, powerful javascript datetimepicker with no dependencies
Almost every large SPA or project involves date and time input. Browser's native implementations of those are inconsistent and limited in functionality. Most other libraries require you to pull in heavy dependencies like jQuery, Bootstrap, and moment.js. I wanted something that was good-looking out of the box, dependency-free, powerful, and extensible.
Feature overview:
flatpickr provides more functionality at a fraction of the size of other libraries.
IE9 and up, Edge, iOS Safari 6+, Chrome 8+, Firefox 6+
Demos and documentation: https://flatpickr.js.org
See also:
flatpickr will never change its license, pester users for donations, or engage in other user-hostile behavior.
Nevertheless, if you enjoyed working with this library or if its made your life easier, you can buy me a cup of coffee :)
Become a flatpickr dev!
Flatpickr fails when rendered inside a different window/document
Flatpickr doesn't work with VDialog (and most likely as well doesn't work with any Dialog/Modal outside of Vue)
Correct way to handle invalid date
Calc issue
Showing one calendar in responsive and two calendars on desktop
DOM-based XSS via unsafe configuration values passed into Flatpickr options
Next release date
New plugin for select only year
Month select plugin won't update when using the method setDate