#93722form variants error when using . inside a key
Description
I created a form variant and noticed that when you use a . inside a key and save the form in the backend again the form variant options get “corrupted”
example:
1. Creating a new variant option in the yaml file.
variants:
-
identifier: multicheckbox-1
condition: ‘formValues[“singleselect-1”] && formValues[“radiobutton-1”] == “TEST”‘
properties:
options:
‘test (test2) test3. test4’: TEST
2. make (any) changes in the form editor in the BE and save the form again.
3. the variant changes to
options:
‘test (test2) test3’:
‘ test4’: TEST
I only noticed that because I copied and pasted the values. The original key was longer and was also split before the closing bracket but I couldn’t reproduce this in this example.
Reviews 1
Related issues 1
History 45
-
Björn Jacob changed Sprint Focus Remote Sprint <span data-processor="relativetime" data-value="2021-08-06T12:44:05+00:00" > 08/06/21, 12:44 </span>
-
Mathias Brodala changed status
NewAccepted <span data-processor="relativetime" data-value="2021-08-13T14:50:58+00:00" > 08/13/21, 14:50 </span> -
Riccardo De Contardi changed Tags
from, variantsvariants <span data-processor="relativetime" data-value="2024-06-27T09:58:16+00:00" > 06/27/24, 09:58 </span> -
Josua Vogel changed Related to #107187 <span data-processor="relativetime" data-value="2025-10-11T15:09:42+00:00" > 10/11/25, 15:09 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 93791 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2026-04-22T06:26:15+00:00" > 04/22/26, 06:26 </span>