react-select2-wrapper icon indicating copy to clipboard operation
react-select2-wrapper copied to clipboard

There is no option to get an option by default selected and display on placeholder

Open harsh-kukreja opened this issue 5 years ago • 1 comments

Whenever we write an option tag with selected that option is selected but there is no option here can anyone suggest? also for the multiple selects

harsh-kukreja avatar Aug 13 '20 20:08 harsh-kukreja

I'm not sure I understand the question exactly, but I think the defaultValue does what you want

https://codesandbox.io/s/optimistic-dan-6izv0?file=/src/App.js image

jasonpenny avatar Aug 16 '20 22:08 jasonpenny