We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c38afb commit add386fCopy full SHA for add386f
packages/core/src/TagsInput/TagsInputInput.vue
@@ -86,6 +86,11 @@ function handleInput(event: InputEvent) {
86
const target = event.target as HTMLInputElement
87
target.value = target.value.replace(delimiter, '')
88
89
+ if (target.value.trim() === '') {
90
+ target.value = ''
91
+ return
92
+ }
93
+
94
const isAdded = context.onAddValue(target.value)
95
if (isAdded)
96
target.value = ''
0 commit comments