Skip to content

[Feature Request] checkbox 当达到 max 数量时,禁用未被选择的项 #14742

@hoythan

Description

@hoythan

Existing Component

Component Name

checkbox

Description

使用 max 属性能够限制可以被勾选的项目的数量。

当达到 max 数量时,禁用未被选择的项,可以让用户知晓当前已到达最大选择数量。否则如果提示不当,用户会以为选框出现问题。

参考
http://element.eleme.io/#/zh-CN/component/checkbox
可选项目数量的限制

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions