Setup default value externally
Opened this issue · 2 comments
SmashedBird commented
I would like to have the capability to pass a default value.
e.g. select a record from a table in a database; Click on the record, the default value in the search box will be updated from a prop or state with the option to change it using the drop down.
raulrene commented
+1 to this, it's mandatory functionality for a Select element
raulrene commented
Hey @SmashedBird , I digged into the library a little and it does have a initialSelected
property. You just have to provide it and it'll work.
The documentation should be updated to reflect this 🙂
Cheers!