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

Fix restoring value of typeUserAttr select when attribute name is className #1538

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

lucasnetau
Copy link
Collaborator

@lucasnetau lucasnetau commented Mar 11, 2024

Built in attribute className was not correctly restored when overridden with a typeUserAttr definition of type select. Additionally the typeUserAttr array was mutated by the allocation to tUA and therefore leaked between controls, an copy is now made of the object before any mutation

Note: this configuration does not work when enableEnhancedBootstrapGrid = true due to the feature using className to keep track of row and column information.

Added test cases to cover

Fixes: #1534

@lucasnetau lucasnetau merged commit 7366ddc into kevinchappell:master Mar 13, 2024
1 check passed
@lucasnetau lucasnetau deleted the fix/1534 branch March 13, 2024 00:43
Copy link

🎉 This PR is included in version 3.19.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

formBuilder not restoring typeUserAttr select value on setData
1 participant