mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-27 18:50:59 +08:00
8 lines
461 B
Markdown
8 lines
461 B
Markdown
|
## zh-CN
|
||
|
|
||
|
在某些场景下,需要定制计数能力(例如 emoji 长度以 1 计算),可以通过 `count` 属性来实现。在该模式下,通过 `count.max` 属性来超出原生 `maxLength` 的限制。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
It is necessary to customize the counting ability in some scenarios (such as emoji length is counted as 1), which can be achieved through the `count` attribute. Use `count.max` attribute exceeds the limit of the native `maxLength`.
|