mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-10-23 05:11:57 +00:00
fix(multi-select): add @input.stop to prevent event bubbling and corrupting state when it's wrapped e.g. like it's done in the Filterbuilder component
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<template>
|
||||
<!-- idk why I named this select tag, should be named multi-select -->
|
||||
<TagsInput v-model="tags" class="px-0 gap-0" :displayValue="getLabel">
|
||||
<!-- Tags visible to the user -->
|
||||
<div class="flex gap-2 flex-wrap items-center px-3">
|
||||
@@ -24,6 +25,7 @@
|
||||
@keydown.enter.prevent
|
||||
@blur="handleBlur"
|
||||
@click="open = true"
|
||||
@input.stop
|
||||
/>
|
||||
</ComboboxInput>
|
||||
</ComboboxAnchor>
|
||||
|
Reference in New Issue
Block a user