Skip to content

Initialise display options or trigger dropdown ? #1277

Answered by djokicpn
gg4u asked this question in Q&A
Discussion options

You must be logged in to vote

Just add ref to your component
<v-select ref="dropdown"> </v-select>

After that just use $refs:

openModalFunction() {
    this.$nextTick(function () {
        this.$refs.dropdown.$refs.search.focus()
    });
}

This should help

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sagalbot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1277 on December 18, 2020 19:44.