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

Switch one option #227

Closed
AhmedElTabarani opened this issue Feb 10, 2023 · 5 comments
Closed

Switch one option #227

AhmedElTabarani opened this issue Feb 10, 2023 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@AhmedElTabarani
Copy link

I need to make the user select one option and switch to another if he selected another option

Desktop-1676066648296.webm
@sa-si-dev
Copy link
Owner

@AhmedElTabarani I am not getting your question. Do you wanna allow single select only?

@AhmedElTabarani
Copy link
Author

@AhmedElTabarani I am not getting your question. Do you wanna allow single select only?

Yes with this checkbox icon
I know that multiple: false will make it single select only but it will make the checkbox disappear.

@sa-si-dev
Copy link
Owner

As of now, checkbox would be available for multiple select only.
You can add custom icons using labelRenderer

@gnbm
Copy link
Collaborator

gnbm commented May 12, 2023

Using checkboxes on single selections is a tremendous usability mistake in my opinion. Maybe you should challenge that on your project.

@AhmedElTabarani
Copy link
Author

I convert it to multiple: false without checkbox

@sa-si-dev sa-si-dev self-assigned this Jun 18, 2023
@sa-si-dev sa-si-dev added the question Further information is requested label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants