#60247eval=>"required" not working with select fields
Description
As a developer, i want to be able to enforce selection of exactly one item in a select field. But currently, it seems impossible to declare a TCA field of type “select” as mandatory. When leaving the field empty and saving the record.
Setting “eval” to “required” is ignored.
'store' => array(
'exclude' => 1,
'label' => 'store',
'config' => array(
'type' => 'select',
'foreign_table' => 'tx_myext_domain_model_store',
'size' => 1,
'autoSizeMax' => 30,
'items' => array(
array('', ''),
),
'maxitems' => 1,
'minitems' => 1,
'multiple' => 0,
'eval' => 'required'
),
),Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.