We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
chakra-ui
5.12.1
A select widget acts like a multi select even if it should not.
A select field when explicitly set to multiple=false through props should not render itself as multiple select field
Here is a playground link
The issue is this line:
const isMultiple = typeof multiple !== 'undefined' && Boolean(enumOptions);
this evaluates to true if multiple is set to false from multischema field here
multiple
- OS: linux fedora - Node: 16.20.0 - npm: 8.19.4
No response
The text was updated successfully, but these errors were encountered:
Update chakra-ui select widget for multiple
80449c2
This should fix the logic flaw for the case another field opens the select widget with multiple = false instead of undefined. Fixes rjsf-team#3848
Would also be fixed by #3811
Sorry, something went wrong.
Fixed by #3811
Successfully merging a pull request may close this issue.
Prerequisites
What theme are you using?
chakra-ui
Version
5.12.1
Current Behavior
A select widget acts like a multi select even if it should not.
Expected Behavior
A select field when explicitly set to multiple=false through props should not render itself as multiple select field
Steps To Reproduce
Here is a playground link
The issue is this line:
this evaluates to true if
multiple
is set to false from multischema field hereEnvironment
Anything else?
No response
The text was updated successfully, but these errors were encountered: