Bug #105400
closedDateTimePicker Range doesnt work.
100%
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!
Files
Updated by Gerrit Code Review 30 days ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86701
Updated by Andreas Kienast 30 days ago
- Related to Task #91606: Replace bootstrap-datetime picker added
Updated by Gerrit Code Review 30 days ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86701
Updated by Garvin Hicking 29 days ago
- Related to Task #105429: Add TCA type=datetime example with upper+lower added
Updated by Gerrit Code Review 24 days ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86701
Updated by Gerrit Code Review 23 days ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86829
Updated by Gerrit Code Review 23 days ago
Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86750
Updated by Anonymous 23 days ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d3dec09d3dba827a0ac9f2b9a1f32d4d8cc2cc7b.