- Issue created by @luiss-r
- 🇩🇪Germany jurgenhaas Gottmadingen
AFAIK this was a deliberate decision to not support tokens here, as the field name may already contain
[
and]
characters for nested form fields. If nothing else, we need to remove the description that tells the user otherwise. - Assigned to mxh
- 🇩🇪Germany jurgenhaas Gottmadingen
@mxh can we support tokens in that field safely? Looks like we do support tokens in form field names in other actions, e.g. "Set default value", but not here.
- First commit to issue fork.
- last update
over 1 year ago 296 pass - @mxh opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:41pm 5 August 2023 - 🇩🇪Germany mxh Offenburg
can we support tokens in that field safely?
Probably yes, created MR384 that adds token replacements. Please have a look.
- 🇩🇪Germany mxh Offenburg
Just seen that the OP also asked for how to set default values on a checkboxes field. Attached an example model for that.
Unfortunately, I encountered a bug while trying to set default values on a checkboxes fied. A fix for that is available in the linked issue. You'd need to apply the fix in that issue first, otherwise the attached example won't work.
- Status changed to RTBC
over 1 year ago 9:08am 6 August 2023 - 🇩🇪Germany jurgenhaas Gottmadingen
Very nice that this also covers related plugins with similar context, thanks a lot.
I tend to back port this to 1.1.x as well, since the field description stated that tokens were supported, while they didn't. So, this could be seen as a bug by users.
- last update
over 1 year ago 296 pass -
jurgenhaas →
committed d0189c2a on 2.0.x authored by
mxh →
Issue #3372296 by mxh, jurgenhaas, luiss-r: How to disable single...
-
jurgenhaas →
committed d0189c2a on 2.0.x authored by
mxh →
-
jurgenhaas →
committed 747d2fe5 on 1.1.x authored by
mxh →
Issue #3372296 by mxh, jurgenhaas, luiss-r: How to disable single...
-
jurgenhaas →
committed 747d2fe5 on 1.1.x authored by
mxh →
- Status changed to Fixed
over 1 year ago 9:15am 6 August 2023 - 🇩🇪Germany mxh Offenburg
Ah, just seen that I accidentally posted #7 in the wrong issue, reverting. It was meant for 💬 How to disable single checkbox and set default values in multi-value checkboxes form elemen Fixed , where I copy-pasted the comment now.
Automatically closed - issue fixed for 2 weeks with no activity.