angular / angular/components

mat-select - need Check All & Uncheck All options (Select All & Deselect All) for multiple selection

未关闭
#9,149 35 条评论 127 个 reaction 已指派 0 人 在 GitHub 查看
area: material/select feature P5
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

#### Bug, feature request, or proposal:
Request: Need options for **Check All** and **Uncheck All** for multiple selection.

#### What is the expected behavior?
We can have 2 options at the top of the options panel to Check all or Uncheck all options in a single click.
Something like this https://silviomoreto.github.io/bootstrap-select/examples/#selectdeselect-all-options

#### What is the current behavior?
Currently user has to click on each and every option in order to check or uncheck all the options available in the select control.

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5

贡献指南

打开贡献指南

调研方向

从 mat-select 的多选入口开始,并查看 issue 中链接的 Bootstrap Select 示例,以了解预期的交互方式。定义顶层 Check All 和 Uncheck All 选项应如何工作,然后验证在多选面板中选择或清除所有选项均可正常工作,并且与 Angular Material 的约定保持一致。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。