-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select with multiple: true has wrong default value #4084
Closed
5 tasks done
sergei-maertens opened this issue
Apr 2, 2024
· 1 comment
· Fixed by open-formulieren/formio-builder#135, #4121 or open-formulieren/formio-builder#138
Closed
5 tasks done
Select with multiple: true has wrong default value #4084
sergei-maertens opened this issue
Apr 2, 2024
· 1 comment
· Fixed by open-formulieren/formio-builder#135, #4121 or open-formulieren/formio-builder#138
Comments
sergei-maertens
added
needs-backport
Fix must be backported to stable release branch
and removed
needs-backport
Fix must be backported to stable release branch
labels
Apr 2, 2024
Removing backport label - JSON can be edited as a workaround and we're explicitly setting up our backend validation to allow it for now. |
Viicos
added a commit
to open-formulieren/formio-builder
that referenced
this issue
Apr 4, 2024
Viicos
added a commit
that referenced
this issue
Apr 4, 2024
Viicos
added a commit
to open-formulieren/formio-builder
that referenced
this issue
Apr 5, 2024
sergei-maertens
added a commit
to open-formulieren/formio-builder
that referenced
this issue
Apr 5, 2024
[open-formulieren/open-forms#4084] Fix default value of multiple `select` component
Viicos
added a commit
that referenced
this issue
Apr 8, 2024
Viicos
added a commit
that referenced
this issue
Apr 9, 2024
Viicos
added a commit
that referenced
this issue
Apr 9, 2024
Viicos
added a commit
to open-formulieren/formio-builder
that referenced
this issue
Apr 10, 2024
…en set to `null`
Viicos
added a commit
to open-formulieren/formio-builder
that referenced
this issue
Apr 10, 2024
…en set to `null`
Viicos
added a commit
to open-formulieren/formio-builder
that referenced
this issue
Apr 11, 2024
Co-authored-by: Sergei Maertens <sergei-maertens@users.noreply.github.com>
sergei-maertens
added a commit
to open-formulieren/formio-builder
that referenced
this issue
Apr 11, 2024
[open-formulieren/open-forms#4084] Handle `select`s `defaultValue` when set to `null`
sergei-maertens
added a commit
that referenced
this issue
Apr 16, 2024
Viicos
added a commit
that referenced
this issue
Apr 17, 2024
Viicos
added a commit
that referenced
this issue
Apr 19, 2024
[#4084] Add migration to fix multiple select default value
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the form builder produces a default value of
[""]
(i.e. a list with one element - the empty string), which should just be an empty list entirely ([]
) instead.This causes validation issues, because the empty string is typically not a valid choice.
Tasks
defaultValue: [""]
intodefaultValue: []
The text was updated successfully, but these errors were encountered: