-
Notifications
You must be signed in to change notification settings - Fork 15
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
Usign Initial prop to show active option #3
Comments
I'm trying to figure out how to handle an initial value.
The initial prop is like going to Google with a search term already in place. You need to select the option you want or just click enter to select the first match.
I'm thinking maybe it should be based on the v model of the parent component or instance. But that means you would have to set the value of that property.
Note clicking outside will always close the drop down it has too otherwise you'd be stuck in the field.
Rob Rogers
robrogers@me.com
… On Sep 24, 2018, at 8:35 AM, jujogi ***@***.***> wrote:
I trying to use 'initial' prop, but the option doesn't select, only shows like an option. If I click outside, the dropdown will be deactivated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Oh yeah do you have any suggestions ?
Rob Rogers
robrogers@me.com
… On Sep 24, 2018, at 8:35 AM, jujogi ***@***.***> wrote:
I trying to use 'initial' prop, but the option doesn't select, only shows like an option. If I click outside, the dropdown will be deactivated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I like to use this component in more applications.
i used props for specific label / value functions to match my needs
Could that be a valid solution for you? Greetings, |
can you make a pull request for this. |
@robrogers3 This would be a very useful feature. I have tested the proposed fix above and it seems to do the trick. Can you add this? |
Hi, thanks for amazing and useful select.
I trying to use 'initial' prop, but the option doesn't select, only shows like an option. If I click outside, the dropdown will be deactivated.
Thanks for help,
Regards
The text was updated successfully, but these errors were encountered: