Преглед изворни кода

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

杨奕 пре 7 година
родитељ
комит
51f3035346
1 измењених фајлова са 1 додато и 0 уклоњено
  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');
       },