feat(components): [input] add is-focus class name when textarea focus (#17049)

This commit is contained in:
btea 2024-06-03 11:44:18 +08:00 committed by GitHub
parent 587c44653b
commit 73968424d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@
<textarea
:id="inputId"
ref="textarea"
:class="nsTextarea.e('inner')"
:class="[nsTextarea.e('inner'), nsInput.is('focus', isFocused)]"
v-bind="attrs"
:minlength="minlength"
:maxlength="maxlength"