Skip to content
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

🐛 [open-formulieren/open-forms#4772] Set select dataType to string #194

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

stevenbal
Copy link
Contributor

Fixes open-formulieren/open-forms#4772 partially

Requires open-formulieren/types#58 to be merged/released/bumped

because Select components did not have a dataType set, formio tries to cast it to other types if possible, which causes issues when submitting the data to the backend. For that reason we set the value to string to avoid this unwanted normalization

because Select components did not have a dataType set, formio tries to cast it to other types if possible, which causes issues when submitting the data to the backend. For that reason we set the value to string to avoid this unwanted normalization
@sergei-maertens sergei-maertens force-pushed the issue/4772-select-component-datatype-string branch from 73bc298 to f514254 Compare November 12, 2024 10:04
@sergei-maertens sergei-maertens merged commit 2894c3e into main Nov 12, 2024
13 checks passed
@sergei-maertens sergei-maertens deleted the issue/4772-select-component-datatype-string branch November 12, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

int as value of select component issue
2 participants