You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently ToggleGroup's props are filled with any instead of just being generic.
on top of that, the value prop and onValueChange don't depend on if the multiple is true or not causing the component to always expect and array (even if multiple select is not expected).
What i suggest is the behavior to be the same as the way that Combobox component handles the value and multiple props.
Motivation
Feels more consistent with the rest of the library.
Activity
michaelhazan commentedon Nov 6, 2025
@mj12albert is it ok if i attempt to take it on?
realized i had some time later today and would like to do this!
mj12albert commentedon Nov 6, 2025
@michaelhazan Thanks of course ~ please go ahead and make a PR
michaelhazan commentedon Nov 28, 2025
Please note: the result will be slightly different then what the issue originally states: #3173 (comment)
github-actions commentedon Feb 9, 2026
This fix will be available in the next npm release of Base UI.
In the meantime, you can try it out on our Canary release channel: