You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default value of a select field with static options stays when you switch to expression input.
This leads to confusing behavior, and to remove the default value, one has to turn back to static values, remove the default, and return to expression input again.
If the default value isn't part of the expression input options, it is not visible, but still returned as output
If the default value is part of the expression input options, it is also visible
Steps to Reproduce
Add select field, add a static option, and pick it as default
Switch input source to expression
Add any expression as input
--> The default is still in the output data, or even visible if it is represented in the new input options
Bildschirmaufnahme.2023-10-21.um.09.40.39.mov
Expected Behavior
The default value should be cleared when switching to other input sources (expressions or key).
Either no value is preselected (preferred to avoid bias - only when default is set!), or the serialization is fixed
Environment
Form editor in Web Modeler SaaS as of Oct 21 2023
The text was updated successfully, but these errors were encountered:
christian-konrad
changed the title
First value in a select field is preselected and serialized as string, even if it's a number
The default value of a select field with static options stays when you switch to expression input
Oct 21, 2023
As we do not support default values for values key and expressions, we should clean them up once we change the values type - as we already do with other properties.
Describe the Bug
The default value of a select field with static options stays when you switch to expression input.
This leads to confusing behavior, and to remove the default value, one has to turn back to static values, remove the default, and return to expression input again.
Steps to Reproduce
Bildschirmaufnahme.2023-10-21.um.09.40.39.mov
Expected Behavior
The default value should be cleared when switching to other input sources (expressions or key).
Either no value is preselected (preferred to avoid bias - only when default is set!), or the serialization is fixed
Environment
Form editor in Web Modeler SaaS as of Oct 21 2023
The text was updated successfully, but these errors were encountered: