Actions
Bug #87524
closedlower range in datetime causes empty input fields
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2019-01-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When i open records which have date fields that are lower than defined in the range, the input field gets emptied instead of just showing that a validator is violated.
Here my TCA config
'starttime' => array( 'exclude' => 1, 'l10n_mode' => 'mergeIfNotBlank', 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config' => array( 'type' => 'input', 'size' => 13, 'max' => 20, 'eval' => 'datetime,required', 'checkbox' => 0, 'default' => 0, 'range' => array( 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')) ), ), ),
Actions