mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +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 c9c5f5acbe7ee05f4e20fc6d4c5d052c16acb8c7. * 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>
282 B
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.