Merge pull request #49 from navedqb/fix--7265
fix: hide clear icon when options array is emptypull/7267/head
commit
473df98cee
|
@ -1137,7 +1137,7 @@ export default {
|
||||||
return isEmpty(this.fluid) ? !!this.$pcFluid : this.fluid;
|
return isEmpty(this.fluid) ? !!this.$pcFluid : this.fluid;
|
||||||
},
|
},
|
||||||
isClearIconVisible() {
|
isClearIconVisible() {
|
||||||
return this.showClear && this.d_value != null && isNotEmpty(this.options);
|
return this.showClear && this.d_value && this.d_value.length && this.d_value != null && isNotEmpty(this.options);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
directives: {
|
directives: {
|
||||||
|
|
Loading…
Reference in New Issue