angular / angular/components

(Feature request) Custom template for autocomplete/select options

Đang mở
#7,477 8 bình luận 21 reaction 0 người được giao Xem trên GitHub
area: material/autocomplete area: material/select feature P4
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?
Possibility to use autocomplete or select with custom templates to show styled options, like on Angular Material for AngularJS autocomplete [here](https://material.angularjs.org/1.0.2/demo/autocomplete).

Example:

![captura de tela 2017-10-02 as 14 04 42](https://user-images.githubusercontent.com/8621883/31091076-271bfade-a780-11e7-9be2-765812ac7fab.png)

#### What is the current behavior?
All options are shown using a single line option template.

#### What are the steps to reproduce?
It can be seen on the docs [here](https://material.angular.io/components/autocomplete/examples).

#### What is the use-case or motivation for changing an existing behavior?
Allowing the customization of the options for the autocomplete/select can help creating a better user experience.

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

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

Hướng nghiên cứu

Bắt đầu với các ví dụ autocomplete của Angular Material được liên kết và so sánh chúng với hành vi autocomplete/select hiện tại được mô tả trong issue này. Xác định phạm vi tùy chỉnh và xác minh rằng các tùy chọn autocomplete và select có thể hiển thị nội dung được định kiểu trên nhiều dòng mà vẫn giữ nguyên hành vi hiện có.

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
Cần làm rõ
Mức phù hợp với người mới
30/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.