mirror of https://github.com/ElemeFE/element
Select: hide clear icon when value is null (#11460)
parent
3e2e96313a
commit
51f3035346
|
@ -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');
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue