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

SelectButton should allow a mode to ensure an options is always selected #494

Closed
blurbiness opened this issue Sep 24, 2020 · 0 comments
Closed
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@blurbiness
Copy link

In PrimeVue, when an option in SelecButton is clicked and then the same option is clicked again, no option is selected at all and value will be null. But it should allow a mode to behave as RadioButton.

Note that SelectButton in PrimeNg works as RadioButton, preventing to unselect the current option.

You can check the behaviour in showcase pages:
https://primefaces.org/primevue/showcase/#/selectbutton
https://primefaces.org/primeng/showcase/#/selectbutton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

3 participants