Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup default value externally #22

Open
SmashedBird opened this issue Jun 16, 2017 · 2 comments
Open

Setup default value externally #22

SmashedBird opened this issue Jun 16, 2017 · 2 comments

Comments

@SmashedBird
Copy link

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.

@SmashedBird SmashedBird changed the title Setup value externally Setup default value externally Jun 16, 2017
@raulrene
Copy link

+1 to this, it's mandatory functionality for a Select element

@raulrene
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants