-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat(select): add an option to not allow deselecting a selected option #225
Conversation
HabRonan
commented
Dec 6, 2024
•
edited
Loading
edited
- add a preventDeselection flag for single select so a user isn't allowed to deselect a previously selected option, they can only change it to another option. This is needed in the locale(Language) selection where one language needs to be selected.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
ad673e8
to
7621dd1
Compare
size-limit report 📦
|
7621dd1
to
c1f7962
Compare
c1f7962
to
aeb16fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice code 😎
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
🎉 This PR is included in version 7.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |