Thanks to visit codestin.com Credit goes to github.com
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 375334e commit b6e346bCopy full SHA for b6e346b
packages/core/src/Combobox/ComboboxCancel.vue
@@ -23,9 +23,10 @@ function handleClick() {
23
if (rootContext.inputElement.value) {
24
rootContext.inputElement.value.value = ''
25
rootContext.inputElement.value.focus()
26
- if (rootContext.resetModelValueOnClear?.value) {
27
- rootContext.modelValue.value = rootContext.multiple.value ? [] : null
28
- }
+ }
+
+ if (rootContext.resetModelValueOnClear?.value) {
29
+ rootContext.modelValue.value = rootContext.multiple.value ? [] : null
30
}
31
32
</script>
0 commit comments