Explorar o código

Select: hide clear icon when value is null (#11460)

杨奕 %!s(int64=7) %!d(string=hai) anos
pai
achega
51f3035346
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/select/src/select.vue

+ 1 - 0
packages/select/src/select.vue

@@ -199,6 +199,7 @@
           this.inputHovering &&
           !this.multiple &&
           this.value !== undefined &&
+          this.value !== null &&
           this.value !== '';
         return criteria ? 'circle-close is-show-close' : (this.remote && this.filterable ? '' : 'arrow-up');
       },