mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
feat(components): [input] add is-focus
class name when textarea focus (#17049)
This commit is contained in:
parent
587c44653b
commit
73968424d7
@ -108,7 +108,7 @@
|
|||||||
<textarea
|
<textarea
|
||||||
:id="inputId"
|
:id="inputId"
|
||||||
ref="textarea"
|
ref="textarea"
|
||||||
:class="nsTextarea.e('inner')"
|
:class="[nsTextarea.e('inner'), nsInput.is('focus', isFocused)]"
|
||||||
v-bind="attrs"
|
v-bind="attrs"
|
||||||
:minlength="minlength"
|
:minlength="minlength"
|
||||||
:maxlength="maxlength"
|
:maxlength="maxlength"
|
||||||
|
Loading…
Reference in New Issue
Block a user