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 c1083c2 commit 5bf3f61Copy full SHA for 5bf3f61
packages/select/src/select.vue
@@ -185,8 +185,8 @@
185
186
showClose() {
187
let hasValue = this.multiple
188
- ? this.value.length > 0
189
- : this.value !== undefined && this.value !== null && this.value !== '';
+ ? Array.isArray(this.value) && this.value.length > 0
+ : this.value != null && this.value !== '';
190
let criteria = this.clearable &&
191
!this.selectDisabled &&
192
this.inputHovering &&
0 commit comments