mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 12:28:33 +08:00
57521a01e9
* feat: Select support maxCount prop
* fix: fix snap
* chore: fix
* fix: fix
* fix: fix
* rename: .tsx => .ts
* docs: update docs
* Update components/select/demo/maxCount.md
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* Revert "rename: .tsx => .ts"
This reverts commit c9c5f5acbe
.
* fix: update rc-select
* Update components/select/demo/maxCount.md
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>
* update demo
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
8 lines
282 B
Markdown
8 lines
282 B
Markdown
## zh-CN
|
|
|
|
你可以通过设置 `maxCount` 约束最多可选中的数量,当超出限制时会变成禁止选中状态。
|
|
|
|
## en-US
|
|
|
|
You can set the `maxCount` prop to control the max number of items can be selected. When the limit is exceeded, the options will become disabled.
|