Skip to content

setValues not working for react-select #1842

Answered by niralparmar
niralparmar asked this question in Q&A
Discussion options

You must be logged in to vote

@bluebill1049 thanks for the reply, in that example there is no explicit setValue for react-select.
without setValue here what data looks like. as per my requirement member should be array of string rather object
{ "tag": { "member": [ { "value": "chocolate", "label": "Chocolate" }, { "value": "strawberry", "label": "Strawberry" } ] } }

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@bluebill1049
Comment options

@niralparmar
Comment options

@niralparmar
Comment options

@bluebill1049
Comment options

Answer selected by bluebill1049
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants