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

Expose toggleDropdown() function #1860

Open
sadikerd opened this issue Dec 12, 2024 · 0 comments
Open

Expose toggleDropdown() function #1860

sadikerd opened this issue Dec 12, 2024 · 0 comments

Comments

@sadikerd
Copy link

sadikerd commented Dec 12, 2024

Is your feature request related to a problem? Please describe.
I'm always frustrated when i try to toggle dropdown. I need to be able to open dropdown menu with any props or an exposed function.
This will be used, for instance, couple of vue-select usage and once one is selected, i would like to trigger next vue-select to open immediately its dropdown menu without clicking on it.

Describe the solution you'd like
I saw there is already toggleDropdown() function in Select.vue, maybe this function can be adapted to expose and exposed to external usage. So we can use it like vueSelectRef.value.toggleDropdown()

Describe alternatives you've considered
Maybe implementing a props would be fine.

Additional context
Thanks for such useful components :)

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

1 participant