Commit 430c149d authored by 杨奕's avatar 杨奕 Committed by GitHub

Input: disabled Input should not show clear icon (#10331)

parent c34193ca
......@@ -197,7 +197,7 @@
return this.$slots.prepend || this.$slots.append;
},
showClear() {
return this.clearable && this.currentValue !== '' && (this.focused || this.hovering);
return this.clearable && !this.disabled && this.currentValue !== '' && (this.focused || this.hovering);
}
},
......
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