Issue Feature Closed

#107058Add default stage component template

Josua Vogel 07/08/25, 13:13 updated 03/31/26, 09:00

Description

Currently, when creating a form element, you have to write a JavaScript module that subscribes to the event view/stage/abstract/render/template/perform and renders a template for the new element type, e.g. “renderSimpleTemplateWithValidators()”.

This step is not well documented and increases the barrier for extensions of the form editor.

My idea is to call “renderSimpleTemplateWithValidators()” by default. For most cases, no additional JS needs to be written. If you want to render a different template, you should continue to subscribe to the JS event.

Reviews 2

Files 1

History 525

  1. Garvin Hicking changed attached Screenshot 2026-02-12 at 12.52.14.png <span data-processor="relativetime" data-value="2026-02-12T11:52:41+00:00" > 02/12/26, 11:52 </span>

  2. Josua Vogel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-02-16T10:50:08+00:00" > 02/16/26, 10:50 </span>

    Applied in changeset commit:d55460da0087c4059ee8a8293a9506e51ddc8508.