appbaseio / appbaseio/reactivesearch

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

オープン
#286 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement web :spider_web:
主要言語
JavaScript
スター
4.9k
フォーク
478
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。