Actions
Bug #60247
closedeval=>"required" not working with select fields
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2014-07-10
Due date:
% Done:
0%
Estimated time:
2.00 h
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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' ), ),
Files
Actions