appbaseio / appbaseio/reactivesearch

React: ToggleButton component is not setting the default value when URLParams is set to true

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

説明

**Affected Projects**
React

**Library Version:** x.y.z
^3.25.1, 3.45.0 and 4.2.2

**Describe the bug**
The label is reflected in the URL instead of the value.
If the value is present in URLParam and if you refresh the page, ToggleButton should have that value selected by default

**To Reproduce**
v4.2.2 https://codesandbox.io/p/sandbox/youthful-goldwasser-z65gp3
v3.45.0 https://codesandbox.io/p/sandbox/vigilant-euler-9xglky

Steps to reproduce the behavior:

**Expected behavior**
The value should be reflected in the URL instead of the label.

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

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

評価

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

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

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