Project

General

Profile

Actions

Bug #94647

closed

TCAdefaults are ignored for inputDateTime fields if lower range lies in future

Added by Georg Tiefenbrunn over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-07-27
Due date:
% Done:

0%

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

Description

TYPO3 10.4.18 (composer)

# TCA
table
  columns
    test_date
      config
        eval = date
        range
          lower = {value greater than now}
        renderType = inputDateTime
        type = input

# TCAdefaults
TCAdefaults.table.test_date = {future date}

On creating new records:

  • OK: range.lower is not set -> TCAdefaults is used
  • OK: range.lower is smaller than now() -> TCAdefaults is used
  • ERROR: range.lower is greater than now() (is a future date) -> TCAdefaults are ignored and range.lower is used as element value.

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #91777: Date input fields always reset to lowest range when definedClosed2020-07-09

Actions
Related to TYPO3 Core - Bug #87524: lower range in datetime causes empty input fieldsClosed2019-01-23

Actions
Actions

Also available in: Atom PDF