appbaseio / appbaseio/reactivesearch
ToggleButton should not unselect active item - There should always be an item active
- Vorherrschende Sprache
- JavaScript
- Sterne
- 4.9k
- Forks
- 478
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**Affected Projects**
VueJS
**Is your feature request related to a problem? Please describe.**
ToggleButton unselects value when clicked on active item
**Describe the solution you'd like**
ToggleButton should not unselect value when clicked on active item. It should only change the active item when clicked on that active item
**Describe alternatives you've considered**
Not considered. But could be a custom reactive component.
**Additional context**
Could be a prop to have different behavior in case you want to continue to offer this option in both ways
**Steps to reproduce**
1. Initial state:

2. Change active item:

3. Click active item (same item as step 2) - Undesired behavior

4. Click active item (same item as step 2) - Desired behavior / Stays the same

Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.