Deselect deleted options #1773
Unanswered
wenxich
asked this question in
Help Wanted
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have used v-select to create a dropdown of taggable items. I have connected the options in this dropdown to an array I can manually edit/delete items from. However, if an option is selected in the dropdown, then when I go to delete this option from the array, this option is still selected.
For example, say that my dropdown has items 'option 1', 'option 2', and 'option 3'. My dropdown currently has 'option 3' selected. However, when I delete 'option 3' from the array manually, while the dropdown menu no longer has 'option 3' as an item, my dropdown still has 'option 3' selected.
Has anyone else run into this? If so, how can I make sure my dropdown deselects an option if it's been deleted?
Beta Was this translation helpful? Give feedback.
All reactions