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

[Feature Request] Add an option to v-select to manually trigger the dropdown menu #2443

Closed
HugoCrd opened this issue Nov 8, 2017 · 2 comments
Assignees
Labels
C: VAutocomplete C: VCombobox C: VSelect T: enhancement Functionality that enhances existing features

Comments

@HugoCrd
Copy link

HugoCrd commented Nov 8, 2017

New Functionality

I'm using a v-select with autocomplete. This component works great, and almost answers our use-case :)
Almost, because right now it shows the dropdown menu on input focus.
In my use case, I want to only show this when a user starts entering text in the input.

Improvements

The current workaround is to use max-height and set it to 0 when nothing was entered on search-input but I find it quite hacky.
Adding an option like trigger would allow us to do that in a better way.

Bugs or Edge Cases it Helps Avoid

That would prevent users to add hacks on top of this element.

If you think this would fit in Vuetify, I could help adding it and provide a PR.

Thanks for your work, it's an amazing framework you have there!

@nekosaur nekosaur added pending review The issue is still pending disposition T: enhancement Functionality that enhances existing features and removed pending review The issue is still pending disposition labels Nov 8, 2017
@HugoCrd
Copy link
Author

HugoCrd commented Nov 15, 2017

This would be a really good enhancement.
My workaround does not remove the shadow, making it not perfect to my eyes ;)

image

Once again: I'd be happy to work on it if you think that makes sense (or if you can think of a better solution to achieve the same).

Cheers

@johnleider
Copy link
Member

This is currently how this behaves.

If you have any additional questions, please reach out to us in our Discord community.

@johnleider johnleider removed this from the v2.x.x milestone Jan 17, 2020
@johnleider johnleider self-assigned this Jan 17, 2020
@vuetifyjs vuetifyjs locked as resolved and limited conversation to collaborators Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C: VAutocomplete C: VCombobox C: VSelect T: enhancement Functionality that enhances existing features
Projects
None yet
Development

No branches or pull requests

5 participants