Commit 51f30353 authored by 杨奕's avatar 杨奕 Committed by GitHub

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

parent 3e2e9631
...@@ -199,6 +199,7 @@ ...@@ -199,6 +199,7 @@
this.inputHovering && this.inputHovering &&
!this.multiple && !this.multiple &&
this.value !== undefined && this.value !== undefined &&
this.value !== null &&
this.value !== ''; this.value !== '';
return criteria ? 'circle-close is-show-close' : (this.remote && this.filterable ? '' : 'arrow-up'); return criteria ? 'circle-close is-show-close' : (this.remote && this.filterable ? '' : 'arrow-up');
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment