Close VSelect programmatically #20103
Replies: 1 comment
-
Okay, right after I wrote this I found another issue where Kael mentions The docs just mention the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
A
VSelect
will close their popup menu automatically if an item is selected.However ... I have added a text input and a confirm button with the
#append-item
slot that allows users to propose a new item. It would be a nice touch if the select popup would close after the confirm button was clicked.I tried it by setting a
ref
on thev-select
and then executeselectRef.value.$el.blur()
but it did not work.Any ideas if/how this can be achieved?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions