Issue Task Resolved

#110885Extract additional property path handling in form editor inspector

Josua Vogel 10/02/26, 10:31 updated 10/06/26, 06:35

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

  1. Josua Vogel commented and changed status Under Review Resolved done 0 % 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.