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
I noticed the MultiValueContainer component accepts MultiValueGenericProps and it does not receive the common props (including setValue) as mentioned here: https://react-select.com/components . Maybe I am misunderstanding the docs here.
I am using typescript and currently using a custom selectProps to pass the setValue function manually.
Just wanted to make sure I am not missing something to make it a little simpler.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I noticed the
MultiValueContainer
component acceptsMultiValueGenericProps
and it does not receive the common props (includingsetValue
) as mentioned here: https://react-select.com/components . Maybe I am misunderstanding the docs here.I am using typescript and currently using a custom
selectProps
to pass thesetValue
function manually.Just wanted to make sure I am not missing something to make it a little simpler.
Beta Was this translation helpful? Give feedback.
All reactions