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

On registration, transform selectboxes data shape based on openForms.transformData #5074

Open
Tracked by #4926
stevenbal opened this issue Feb 3, 2025 · 0 comments · May be fixed by #5076
Open
Tracked by #4926

On registration, transform selectboxes data shape based on openForms.transformData #5074

stevenbal opened this issue Feb 3, 2025 · 0 comments · May be fixed by #5076
Assignees

Comments

@stevenbal
Copy link
Contributor

stevenbal commented Feb 3, 2025

On registration, transform selectboxes data shape from {"selectboxes": {"foo": true, "bar": false}" to {"selectboxes": ["bar"]}

This should only be implemented for the Objects API and JSON dump registration backends for now. It should be part of the existing pattern in process_mapped_variable that is used to transform data

@stevenbal stevenbal changed the title On registration, transform selectboxes data shape from {"selectboxes": {"foo": true, "bar": false}" to {"selectboxes": ["bar"]} On registration, transform selectboxes data shape based on openForms.transformData Feb 3, 2025
@stevenbal stevenbal self-assigned this Feb 3, 2025
@stevenbal stevenbal moved this from Todo to In Progress in Development Feb 3, 2025
@stevenbal stevenbal linked a pull request Feb 4, 2025 that will close this issue
13 tasks
@stevenbal stevenbal assigned vaszig and unassigned stevenbal Feb 13, 2025
@stevenbal stevenbal moved this from In Progress to Todo in Development Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants