#110885Extract additional property path handling in form editor inspector
Description
The inspector editors of the form editor each write the configured additionalElementPropertyPaths with their own loop, and they treat doNotSetIfPropertyValueIsEmpty differently:
- TextEditor: removes the paths only if the flag is set and the value is empty, otherwise sets the value
- DateEditor: always removes the paths for an empty value and ignores the flag
- CheckboxEditor (proposed in #88925): would add a third copy of this logic
Extract the handling into a shared helper that does not depend on the form editor’s module state. TextEditor uses it first.
Behaviour does not change.
Follow-up changes can then switch the DateEditor and the new CheckboxEditor to the same helper.
Reviews 1
History 14
-
Gerrit Code Review pushed patch set 1 for main to change 96305 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-02T10:33:47+00:00" > 10/02/26, 10:33 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96305 <span data-processor="relativetime" data-value="2026-10-02T10:53:26+00:00" > 10/02/26, 10:53 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 96305 <span data-processor="relativetime" data-value="2026-10-02T11:28:22+00:00" > 10/02/26, 11:28 </span>
-
Josua Vogel commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-06T06:35:12+00:00" > 10/06/26, 06:35 </span>
Applied in changeset commit:f1699d4696cc54c2cda2b7c9ad30491e590cdab0.