Replies: 1 comment
-
Greetings @mkikets99,
I believe your ask here is different in that you wish react-select to traverse the options and automatically select the option with the matching value. This introduces a lot of complexity with the underlying Types as the primary intention of a defaultValue is to share the same value Type as an Option and not to exist as a parameter to some predicate function. There has been some talk about how confusing "value" is. While major versions 3, 4, and soon to be 5 have not introduced a lot of breaking changes, version 6 will likely be much different. One of the discussions is to replace what is now known as However for time being, value and defaultValue are meant to be an |
Beta Was this translation helpful? Give feedback.
-
Are you asking a question?
This is feature request
Are you making a feature request?
Provide as much information as possible about your requested feature. Here are a few questions you may consider answering:
Note:
(I dunno.) Maybe, something like on MDB premium:
https://mdbootstrap.com/docs/react/forms/select/
Beta Was this translation helpful? Give feedback.
All reactions