Commit 7daa72be authored by hetech's avatar hetech Committed by GitHub

Input: not display clear icon in disabled form (#13208)

parent 87baaad3
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
}, },
showClear() { showClear() {
return this.clearable && return this.clearable &&
!this.disabled && !this.inputDisabled &&
!this.readonly && !this.readonly &&
this.currentValue !== '' && this.currentValue !== '' &&
(this.focused || this.hovering); (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