mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
chore: update doc (#22511)
This commit is contained in:
@@ -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
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user