Skip to content

Expose toggleDropdown() function #1860

@sadikerd

Description

@sadikerd

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions