chore: update doc (#22511)

This commit is contained in:
0song
2025-10-17 13:00:59 +08:00
committed by GitHub
parent ddf28c98d3
commit bbb4d757c1

View File

@@ -108,6 +108,7 @@ input/various-size
## Limit length
:::demo `maxlength` and `minlength` attributes of input, they declare a limit on the number of characters a user can input. The "number of characters" is measured using JavaScript string length.Setting the `maxlength` prop for a text or textarea type of Input can limit the length of input value, allows you to show word count by setting `show-word-limit` to `true` at the same time. In ^(2.11.5), You can set `word-limit-position` to `outside` to display the word count outside the input.
input/length-limiting
:::