<Select> can provide props "selectedIndex" #715
chapman-cc
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
the native HTML <select> does provide additional details like
so although you don't pass the entire flight object but only a string value, you can still access the
selectedIndex
and get the dedicated flight object by index with O(1)
I understand the Radix's <Select> is actually not a select but there might be some way to pass the index of the selected index to, say maybe
onValueChange
Beta Was this translation helpful? Give feedback.
All reactions