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: πŸ› SQFormCheckboxGroup properly accepts non string values #232

Merged
merged 1 commit into from
May 7, 2021

Conversation

20BBrown14
Copy link
Contributor

SQFormCheckboxGroup's MUI Checkbox casts the value to a string and as a
result the isChecked comparison fails if a non-string value was passed.
A simple cast in our own code fixes this issue.

βœ… Closes: #231

SQFormCheckboxGroup's MUI Checkbox casts the value to a string and as a
result the isChecked comparison fails if a non-string value was passed.
A simple cast in our own code fixes this issue.

βœ… Closes: #231
@20BBrown14 20BBrown14 merged commit 0461a96 into master May 7, 2021
@20BBrown14 20BBrown14 deleted the issue_231 branch May 7, 2021 17:19
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.

SQFormCheckboxGroup options don't properly compare values that are not strings
3 participants