ant-design/components/tree-select/demo/maxCount.md
Jony J ca1ab9bf47
feat: TreeSelect support maxCount (#51759)
* feat: TreeSelect support maxCount

* Update components/tree-select/index.zh-CN.md

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* chore: bump tree & tree-select version for supporting maxCount

* test: update snapshot

* chore: bump rc-cascader version to 3.31.0

* :wqhe commit message for your changes. Lines starting

* rerun ci

* rerun ci

* docs: update doc

* docs: improve demo

* fix: add demo

* docs: add demo

* chore: trigger CI build

---------

Signed-off-by: lijianan <574980606@qq.com>
Signed-off-by: Jony J <1844749591@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-12-25 14:39:50 +08:00

282 B

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.