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
Hi, I encountered a problem with the Select primitive when resetting the form, the underlying native <select> element value got reset but the value on the Select component preserves the old value.
Expected behavior
The internal Select component value should reflect the underlying <select> element value.
Wrong selection could still occur by the following steps:
1) Select a key that does NOT have a Superkey/Macro
2) Assign a Superkey/Macro
3) Click another key which does NOT have a Superkey/Macro assigned.
Error: The Superkey/Macro set on the previous key is still selected.
Maybe related to: radix-ui/primitives#3089
Signed-off-by: Lawrence Brooks <[email protected]>
Bug report
Current Behavior
Hi, I encountered a problem with the
Select
primitive when resetting the form, the underlying native<select>
element value got reset but the value on theSelect
component preserves the old value.Expected behavior
The internal
Select
component value should reflect the underlying<select>
element value.Reproducible example
CodeSandbox
Step to reproduce:
b
) and click submita
value while theSelect
component still shows theb
optionYour environment
The text was updated successfully, but these errors were encountered: