|
@@ -196,7 +196,11 @@
|
|
|
return this.$slots.prepend || this.$slots.append;
|
|
|
},
|
|
|
showClear() {
|
|
|
- return this.clearable && !this.disabled && this.currentValue !== '' && (this.focused || this.hovering);
|
|
|
+ return this.clearable &&
|
|
|
+ !this.disabled &&
|
|
|
+ !this.readonly &&
|
|
|
+ this.currentValue !== '' &&
|
|
|
+ (this.focused || this.hovering);
|
|
|
}
|
|
|
},
|
|
|
|