All notable changes to this project will be documented in this file.
- Fixed: php8 warning
- Fixed: warnings with php 8
- Fixed: warnings with php 8
- Fixed: flatpickr theme not added automatically after 2.9.1 for encore context
- Refactored: FrontendAsset
- Removed: encore config
- Updated: utils version
- Added: encore contracts dependency
- Added: encore contracts support
- Fixed: warning with php 8
- Fixed: symfony 5 support
- Added: datacontainer object now also passed to CustomizeFlatpickrOptionsEvent for form generator widget (added a custom FlatpickrDataContainer class)
- Added: CustomizeFlatpickrOptionsEvent::setFlatpickrOption()
- Fixed: browser autocomplete shown on flatpickr fields
- Added: rangePlugin (two input date range) support (#7)
- Changed: refactored js code to reduce duplicate executions (#7)
- Changed: allow php 8 (#7)
- Deprecated: enableAmPm support (#7)
- Fixed: enableAmPm support (#7)
- Fixed: date- and time format not correctly determined
- Added: formgenerator support (#6)
- Added: FlatpickrOptions class to have a single option generation class (#6)
- Changed: raised minimum php version to 7.4 (#6)
- Changed: raised minimum contao version to 4.9 (#6)
- Changed: some refactoring due contao 4.9 update (#6)
- Deprecated: FlatpickrManager (#6)
- Deprecated: some FlatpickrUtil methods (#6)
- Fixed: try to manipulate tl_page rootfallback palette in contao 4.4
- fixed momentjs initialization with dateFormatIso8601 and time_24h set
- fixed readme
- fixed GetAttributesFromDcaListener to return attributes if second argument is not typeof DataContainer or null
- fixed property type in FlatpickrUtil
- updated flatpickr depenency to 4.6.9
- added monthSelectPlugin
- added monthSelectPlugin style to theme encore-entry
- fixed missing twig-support-bundle dependency
- fixed refactoring leftovers
- use TwigTemplateRenderer instead Twig/Environment for renderer template rendering
- fixed type hint for multi column wizard
- fixed service definition for symfony 3.4
- added support for text filter element
- added support for
filterAjaxComplete
event from contao-filter-bundle
- refactored flatpickrUtil and Manager, added translation (#5)
- added support for non-dca fields with default flatpickr options (#1)
- added support for
formhybrid_ajax_complete
event from contao-formhybrid-compatibility-bundle
- changed compile of picker button is now moved into
FlatpickrUtil
- added huh_filter support
- capsuled retrieval of flatpickr config for frontend field in util
- added customizable flatpickr button template
- refactored to use
GetAttributesFromDcaListener
event to parse dca configuration to frontend as data attributes - refactored js dependencies
- refactored js code used for creation of flatpickr instances
- added increment/decrement buttons to flatpickr instance
- added theme encore entry
- added moment.js dependency
- refactored BeforeRenderWidgetListener to function with field.eval.flatpickr.options
- refactored contao-flatpickr-bundle.js to function with field.eval.flatpickr.options
- fixed encore entry definition
- added CustomEvent 'huh.flatpickr.event.prepare' for adjusting flatpickr options before initialization
- fixed localization not loaded correctly
Now works without encore bundle!
- added input prepand and append config for filter bundle
- added support for non-encore-usage
- removed outdated lines from composer.json
- added support for Filter Bundle AdjustFilterOptions event
- updated js file name to new internal conventions
- updated refactored FlatpickrBundle object to class
- removed
console.log()
debug messages - added bind to
formhybrid_ajax_complete
event listener