mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-26 01:42:30 +08:00
6af1d95cf4
* docs: init * chore: update example * test: update test * docs: update doc * chore: fix lint * chore: update limit
461 B
461 B
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
.