#108460JS Event "somePropertyChanged" is not sent for default Value Changes in PropertyGridEditor
Description
- Edit a backend EXT:form form
- Add a field of type MultiCheckbox (but it also concerns MultiSelect, RadioButton and SingleSelect – everything that has Inspector-PropertyGridEditor)
- Edit the default value of a field by clicking on “Selected”
*Expected Behaviour:*
It should trigger an event core/formElement/somePropertyChanged with parameters:
args0/propertyPath: defaultValue
args1/value: [ “a” ]
args2/oldValue: [ ]
*Actual Behavior:*
It triggers the event core/formElement/somePropertyChanged with parameters:
args0/propertyPath: properties.options
args1/value: [ {…}, {…} ]
args2/oldValue: [ {…}, {…} ] (same Array as in ‘value’, as the values didn’t change)
I don’t mind that it triggers an event with no value change (that’s a bit weird but ok), however I am missing the event that defaultValue did change. I am using this JS event to extend the editor capabilities via Javascript.
Reviews 2
History 312
-
Gerrit Code Review pushed patch set 1 for main to change 93087 status
NewUnder Review <span data-processor="relativetime" data-value="2026-03-05T16:58:28+00:00" > 03/05/26, 16:58 </span> -
Gerrit Code Review pushed patch set 2 for main to change 93087 <span data-processor="relativetime" data-value="2026-03-05T16:58:43+00:00" > 03/05/26, 16:58 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 93087 <span data-processor="relativetime" data-value="2026-04-22T06:41:55+00:00" > 04/22/26, 06:41 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 93087 <span data-processor="relativetime" data-value="2026-04-23T08:57:36+00:00" > 04/23/26, 08:57 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 93087 <span data-processor="relativetime" data-value="2026-09-24T14:12:19+00:00" > 09/24/26, 14:12 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 93087 <span data-processor="relativetime" data-value="2026-09-30T20:30:53+00:00" > 09/30/26, 20:30 </span>
-
Gerrit Code Review pushed patch set 7 for main to change 93087 <span data-processor="relativetime" data-value="2026-11-12T22:36:21+00:00" > 11/12/26, 22:36 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97602 <span data-processor="relativetime" data-value="2026-11-13T09:34:32+00:00" > 11/13/26, 09:34 </span>
-
Josua Vogel commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-13T09:40:11+00:00" > 11/13/26, 09:40 </span>Applied in changeset commit:922fb3681badd926b57dd6f55f79df8447ac5ddc.
-
Gerrit Code Review pushed patch set 2 for 14.3 to change 97602 status
ResolvedUnder Review <span data-processor="relativetime" data-value="2026-11-13T14:04:48+00:00" > 11/13/26, 14:04 </span> -
Josua Vogel commented and changed status
Under ReviewResolved <span data-processor="relativetime" data-value="2026-11-13T14:20:20+00:00" > 11/13/26, 14:20 </span>Applied in changeset commit:d3149a1c1afe9e55e57361fa7492599446f2f349.
In the code (see link below) I see that publishing the event is disabled on purpose when multiSelection is not enabled. I can’t find out why that is – this exception has been there already in November 2016 when ext:form was integrated. However, MultiCheckbox has this config flag enabled in the YAML, so this shouldn’t be the problem…
https://github.com/TYPO3/typo3/blob/862fa3705862a77d81a1d366f916b077e9f83979/Build/Sources/TypeScript/form/backend/form-editor/inspector-component.ts#L1748