-
Notifications
You must be signed in to change notification settings - Fork 31
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
Checkbox component should support mapping to an array #273
Comments
Is this actually possible as long as we convert all the datamodel fields to string in |
Psst! We now have backend support for scalar arrays, and the frontend includes support for the |
I am sure I saw an issue where the need for checkbox mapping to datamodel fields was mentioned. It said it is a common pattern i Altinn 2. Here it is: #789 |
Description
The current implementation of the checkbox component maps answers to a comma-separated string. As an app developer, it feels more natural that these values are mapped as an array. We should support both cases 🦅 and make this setting configurable on the component.
Considerations
Depends on #345 to be solved first.
Acceptance criteria
Specification tasks
Development tasks
Test
Definition of done
Verify that this issue meets DoD (Only for project members) before closing.
The text was updated successfully, but these errors were encountered: