ECA: Render does not allow setting nested values, in spite of help text in the UI

Created on 7 November 2023, 8 months ago
Updated 7 March 2024, 4 months ago

Problem/Motivation

When using Render: Build (and some other render actions), the help text for the machine name says:

"Optionally define a machine name of this render element. It will be made available under that name in the render array of the current event in scope. Nested elements can be set with using "][" brackets, for example details][title."

However, if you try to put ][ into the field, it gets rejected due to validation:

Steps to reproduce

Add a "Render: Build" action to a pipeline. Insert ][ into the machine name field. Field gets rejected.

Proposed resolution

I am not sure exactly how this should work -- but nested elements would be very useful for wrapping items in fieldsets, or other widgets, for example.

I can also see it being useful to support tokens here.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States freelock Seattle

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024