Issue Bug Closed

#56668TCA Time Field - 0:00 equals no input

Markus Kappe 03/08/14, 11:50 updated 10/21/17, 17:45

Description

Hi,

I’ve got a time field

// TCA
'config' => array(
    'type' => 'input',    
    'size' => '30',    
    'eval' => 'time',
)

and cannot enter 0:00 into it. Whenever I try it, the displayed value disappears (field gets empty). So the backend form cannot distinguish between zero and null. That is even worse, when I need

'eval' => 'time,required',

Reviews 1