Autocomplete "closeOnSelect"
- 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:
Proposal to add "closeOnSelect: boolean" property.
#### What is the expected behavior?
- User selects an option
- List does not close
#### What is the current behavior?
- User selects an option
- List is closed automatically
#### What is the use-case or motivation for changing an existing behavior?
https://material.angular.io/components/chips/examples
Here is example "Chips autocomplete"
When user selects many items sometimes auto select closing is not useful.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Last version
#### Is there anything else we should know?
Package select2 provided property "closeOnSelect"
@ng-select provided this option also
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với các component autocomplete và chips của Angular Material, sử dụng ví dụ Chips autocomplete được liên kết trong issue làm trường hợp sử dụng dự kiến. Xem xét hành vi chọn và đóng hiện tại, cùng với mọi bài kiểm thử hoặc tài liệu API liên quan mà bạn tìm thấy. Công việc được hoàn tất khi một tùy chọn boolean closeOnSelect kiểm soát việc danh sách có đóng sau khi chọn một tùy chọn hay không, với độ bao phủ cho cả hai thiết lập.
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- 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