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

pull/11462/head
杨奕 2018-06-01 17:19:51 +08:00 committed by GitHub
parent 3e2e96313a
commit 51f3035346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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');
},