#94050Do not reload form on change if mandatory fields are not filled in
Description
In a backend form there are several fields configured by TCA. Some of them are mandatory. Also there are some IRRE fields for adding relations to other tables. In case of adding a new IRRE relation it does kind of deactivate the mandatory validation although some mandatory fields are not filled in.
It would be better not to reload form on changes as long as not all mandatory fields are filled in.
As additional note, the tca of the inline related record has field properties: ‘onChange’ => ‘reload’ and ‘eval’ => ‘required’. Example:
'starttype' => [
'onChange' => 'reload',
'label' => 'LLL:EXT:example/Resources/Private/Language/locallang_db.xlf:tx_example.starttype',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['LLL:EXT:example/Resources/Private/Language/locallang_db.xlf:tx_example.starttype.please_select',-1],
['LLL:EXT:example/Resources/Private/Language/locallang_db.xlf:tx_example.starttype.date',1],
['LLL:EXT:example/Resources/Private/Language/locallang_db.xlf:tx_example.starttype.on_request',2],
['LLL:EXT:example/Resources/Private/Language/locallang_db.xlf:tx_example.starttype.continuously',3],
],
'eval' => 'required',
],
],Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.