angular / angular/components

checkbox group

Đang mở
#4,926 30 bình luận 36 reaction 0 người được giao Xem trên GitHub
area: material/checkbox feature needs: discussion P5
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

#### Bug, feature request, or proposal:
Feature request

#### What is the expected behavior?
Similar to the multiple select, it should be possible to have a list of check boxes to select multiple options returned in a single array of choices. A required validator would check for at least one selection.

#### What is the current behavior?
Has to be made via select or custom logic.

#### What are the steps to reproduce?

Providing a Plunker (or similar) is the *best* way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U

#### What is the use-case or motivation for changing an existing behavior?
Need it quite often for my projects. Sometimes a select drop down is not what customers wish for a multiple selection. Sometimes it is better to see all options without having to open a menu.

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Ng4.1.x, MD beta 6

#### Is there anything else we should know?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách xem xét các component chọn nhiều và checkbox hiện có để hiểu các API hiện tại và hành vi validation của chúng. Xác định hành vi của nhóm checkbox sao cho trả về nhiều tùy chọn đã chọn và yêu cầu ít nhất một lựa chọn; issue được hoàn tất khi các tương tác và validation đó hoạt động nhất quán.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
frontend
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.