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
Select box still shows Apple, controlled value is empty (eg. it shows Your favorite fruit is: .). This happens most of the time for me, but not always.
Luckly for me I need disallowEmptySelection: true, so that issue is currently not relevant for me (I had to specify this explicitly, since the default value changed in 0.10.0. This is the reason I started to look into this).
In a nutshell, it looks like the Select value needs to be null in order have correct behavior when unselecting an element, however it's not what TypeScript expect (eg. it expects Fruit | Fruit[] | undefined).
When having a controlled value, I see the select being out of sync in 0.10.0. It can be reproduced in the documentation page.
Apple
Apple
Apple
, controlled value is empty (eg. it showsYour favorite fruit is: .
). This happens most of the time for me, but not always.Luckly for me I need
disallowEmptySelection: true
, so that issue is currently not relevant for me (I had to specify this explicitly, since the default value changed in 0.10.0. This is the reason I started to look into this).Originally posted by @jcmonnin in #229 (comment)
The text was updated successfully, but these errors were encountered: