fix(components): [input] resolve input attributes issue for textarea (#15514)

fix(components): resolve input attributes issue for textarea

The minlength and maxlength attributes were not working properly when the input type was set to textarea. This commit fixes this issue, ensuring these attributes function as expected for textarea inputs.
This commit is contained in:
YoungDan-hero
2024-01-15 17:06:54 +08:00
committed by GitHub
parent 6e66eaf0a0
commit 5ae172962b

View File

@ -111,6 +111,8 @@
ref="textarea"
:class="nsTextarea.e('inner')"
v-bind="attrs"
:minlength="minlength"
:maxlength="maxlength"
:tabindex="tabindex"
:disabled="inputDisabled"
:readonly="readonly"