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

Add clear button possibility to RadioButtonGroup component #6880

Open
MarekChr opened this issue Dec 2, 2024 · 0 comments
Open

Add clear button possibility to RadioButtonGroup component #6880

MarekChr opened this issue Dec 2, 2024 · 0 comments
Labels

Comments

@MarekChr
Copy link

MarekChr commented Dec 2, 2024

Describe your motivation

In my case, using RadioButtonGroup as "filter" for items (with just 2-3 options) seems better for UI/UX than, for example, ComboBox (no click required to open). But I want users to be able to clear this radioButtonGroup filter.

Describe the solution you'd like

Add setClearButtonVisible() method to RadioButtonGroup component by implementing HasClearButton interface as ComboBoxBase does.

Describe alternatives you've considered

Just use comboBox component with items of radioButtonGroup with clear button visible. However, in certain scenarios like mine, i consider built-in clear button possibility to be useful in radioButtonGroup component.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants