Issue Bug Closed

#107888TCA onChange does not work sometimes.

bingquan bao 10/28/25, 14:13 updated 11/20/26, 20:21

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.

Files 1

History 3

  1. Georg Ringer commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2026-09-14T21:10:02+00:00" > 09/14/26, 21:10 </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

  2. Georg Ringer commented and changed status Needs Feedback Closed <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