Project

General

Profile

Actions

Bug #101254

open

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

Added by Nikita Hovratov 11 months ago. Updated 11 months ago.

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

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
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 1 (1 open0 closed)

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

Actions
Actions #1

Updated by Nikita Hovratov 11 months ago

  • Description updated (diff)
Actions #2

Updated by Nikita Hovratov 11 months ago

Actions #3

Updated by Georg Tiefenbrunn 8 months ago

  • Related to Bug #102070: Validation and UX errors on TCA type=datetime when using range property added
Actions

Also available in: Atom PDF