#105400DateTimePicker Range doesnt work.
Description
Since the rework away from JQuery the Datepicker Range doesnt work anymore.
The issue is that the data field is not correctly writen in camelCase.
The data fields are data-date-min-date and data-date-max-date but the code references to dataset.dateMindate
if (inputElement.dataset.dateMindate !== 'undefined') {
options.minDate = inputElement.dataset.dateMindate;
}
if (inputElement.dataset.dateMaxdate !== 'undefined') {
options.maxDate = inputElement.dataset.dateMaxdate;
}
When the date picker is initialized the min/max is always undefined.
Thanks for fixing!
Reviews 5
- 12.4 86829[BUGFIX] Use correct dataset identifier for date ranges
- 13.4 86750[BUGFIX] Use correct dataset identifier for date ranges
- main 86701[BUGFIX] Use correct dataset identifier for date ranges
- 13.4 86759[TASK] Add EXT:styleguide TCA datetime example with upper/lower range
- main 86728[TASK] Add EXT:styleguide TCA datetime example with upper/lower range