#107888TCA onChange does not work sometimes.
Description
Example field:
‘art’ => [
‘exclude’ => true,
‘onChange’ => ‘reload’,
‘label’ => ‘Pack Type’,
‘config’ => [
‘type’ => ‘select’,
‘renderType’ => ‘selectCheckBox’,
‘foreign_table’ => ‘tx_myextension_domain_model_art’,
‘minitems’ => 1,
],
],
When all options are not checked, the form will be reloaded and the record will be saved with this field empty. This is not good
After that when one option is selected, the form will not be reloaded.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
Files 1
History 3
-
Georg Ringer commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2026-09-14T21:10:02+00:00" > 09/14/26, 21:10 </span> -
Georg Ringer commented and changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2026-11-20T20:21:55+00:00" > 11/20/26, 20:21 </span>will be solved with #111338, therefore closing it here
-
Georg Ringer changed Related to #111338 <span data-processor="relativetime" data-value="2026-11-20T20:22:10+00:00" > 11/20/26, 20:22 </span>
thanks for the issue. I couldn’t reproduce this with the following example
'select_requestUpdate_2' => [ 'label' => 'select_requestUpdate_2 renderType=selectCheckBox, minitems=1', 'onChange' => 'reload', 'config' => [ 'type' => 'select', 'renderType' => 'selectCheckBox', 'minitems' => 1, 'items' => [ ['label' => 'foo 1', 'value' => 1], ['label' => 'foo 2', 'value' => 2], ['label' => 'foo 3', 'value' => 3], ], ], ],can you test that or yours in v14 or dev-main? thanks for your feedback