Project

General

Profile

Actions

Bug #101254

closed

Date field validated as incorrect when range.lower is set and setting a date in the future

Added by Nikita Hovratov over 1 year ago. Updated 17 days ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2023-07-05
Due date:
% Done:

0%

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

Description

For example the styleguide field

        'inputdatetime_11' => [
            'label' => 'inputdatetime_11',
            'description' => 'eval=datetime, default=0, range.lower=1627208536',
            'config' => [
                'type' => 'datetime',
                'format' => 'date',
                'default' => 0,
                'range' => [
                    'lower' => 1627208536,
                ],
            ],
        ],

Try to set any date. The field can't be saved. FormEngine validation complains the value is incorrect.

Does not happen in TYPO3 v11.


Files

date-invalid.png (19.2 KB) date-invalid.png Nikita Hovratov, 2023-07-05 20:21

Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #102070: Validation and UX errors on TCA type=datetime when using range propertyNew2023-09-29

Actions
Is duplicate of TYPO3 Core - Bug #105430: Date validation in FormEngine brokenResolved2024-10-24

Actions
Actions

Also available in: Atom PDF