Open khughitt opened 2 years ago
Greetings!
I was wondering if there is a way to indicate which option should be selected and displayed in the input, by default?
Based on an earlier issue, it seems like this should be possible, but I couldn't find any examples of how to achieve this.
I tried:
selected="selected"
value
But no luck.
Any suggestions?
Thanks for taking the time to work on this and share it with the community! It's a really useful component :)
Greetings!
I was wondering if there is a way to indicate which option should be selected and displayed in the input, by default?
Based on an earlier issue, it seems like this should be possible, but I couldn't find any examples of how to achieve this.
I tried:
selected="selected"
for the default opt, and,value
prop to the value of the desired defaultBut no luck.
Any suggestions?
Thanks for taking the time to work on this and share it with the community! It's a really useful component :)