Project

General

Profile

Actions

Bug #105400

closed

DateTimePicker Range doesnt work.

Added by Tobias Quadflieg about 1 month ago. Updated 23 days ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2024-10-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:

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

typo3-date-picker-range-error.png (20.5 KB) typo3-date-picker-range-error.png Tobias Quadflieg, 2024-10-23 06:34

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #91606: Replace bootstrap-datetime pickerClosedAndreas Kienast2020-06-08

Actions
Related to TYPO3 Core - Task #105429: Add TCA type=datetime example with upper+lowerResolvedGarvin Hicking2024-10-24

Actions
Actions #1

Updated by Andreas Kienast about 1 month ago

  • Status changed from New to Accepted
Actions #2

Updated by Gerrit Code Review about 1 month 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

Actions #3

Updated by Andreas Kienast about 1 month ago

  • Is Regression set to Yes
Actions #4

Updated by Andreas Kienast about 1 month ago

  • Related to Task #91606: Replace bootstrap-datetime picker added
Actions #5

Updated by Gerrit Code Review about 1 month 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

Actions #6

Updated by Garvin Hicking 29 days ago

  • Related to Task #105429: Add TCA type=datetime example with upper+lower added
Actions #7

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

Actions #8

Updated by Gerrit Code Review 24 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

Actions #9

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

Actions #10

Updated by Anonymous 23 days ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF