mirror of https://github.com/ElemeFE/element
Input: not display clear icon in disabled form (#13208)
parent
87baaad394
commit
7daa72be04
|
@ -205,7 +205,7 @@
|
|||
},
|
||||
showClear() {
|
||||
return this.clearable &&
|
||||
!this.disabled &&
|
||||
!this.inputDisabled &&
|
||||
!this.readonly &&
|
||||
this.currentValue !== '' &&
|
||||
(this.focused || this.hovering);
|
||||
|
|
Loading…
Reference in New Issue