appbaseio / appbaseio/reactivesearch

Feature Request: Add ability for ToggleButton to operate like an HTML radio button

Đang mở
#286 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement web :spider_web:
Ngôn ngữ chính
JavaScript
Star
4.9k
Fork
478
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Issue Type:
Enhancement

Description:
Right now the ToggleButton component acts like a group of HTML checkboxes, which is fine, but there is room for more flexibility. It would be useful to add the ability to let the ToggleButton component operate like an HTML radio button; meaning, it can be configured such that one value (and only one value) must be selected at all times.

Additionally, if the feature is added, it would be useful to have the ability to add an option that when selected is the equivalent to a no-op, meaning it would operate the same if no options were selected. Maybe something like:

```jsx

```

This way, an option is always clearly selected, but you still have the flexibility of searching across all categories.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.