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
Describe the bug
When adding a Select Boxes to a form with a few values, the defaultValue property field always has an invalid value until we select and unselect one of the existing values as a default value.
Version/Branch
The latest version of the Form.io playground
To Reproduce
Steps to reproduce the behavior:
In the Form.io playground, create a form.
Add a "Select Boxes" component.
In the "Data" tab, set the "Data Source Type" property to "Values".
Add a few values (Option1, Option2 and Option3 for this example).
Save the component and look at the generated JSON schema.
@lane-formio When you look at the json under step 5, the default value is "o": false. The "o" option is not a valid value since, in my example, the only possible values are "option1", "option2" and "option3".
Describe the bug
When adding a Select Boxes to a form with a few values, the defaultValue property field always has an invalid value until we select and unselect one of the existing values as a default value.
Version/Branch
The latest version of the Form.io playground
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the have the same JSON Schema as in the result of step 9.
The text was updated successfully, but these errors were encountered: