Bug #87524
Updated by Josef Glatz almost 6 years ago
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 <pre> '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')) ), ), ), </pre>