angular / angular/components

Stepper header without icons

Đang mở
#18,307 5 bình luận 1 reaction 0 người được giao Xem trên GitHub
area: material/stepper feature 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:
Bug/feature request

#### What is the expected behavior?
Just display numbers in stepper headers

#### What is the current behavior?
Tries to display "create" in the icon after changing to another step

#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-vpoj5j you can see it here

#### What is the use-case or motivation for changing an existing behavior?
Not everyone uses the icons

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 8.2.14
typescript 3.5.3

#### Is there anything else we should know?
I know I can override the icons, however I'm unsure about changing it to always using the 'number' state.
The UX of changing the stepper to these icons doesn't really appeal to me.

#### Additional info

doing this :

```


...

```

does not do it. the pencil icon continues to appear for opened states

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

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

Hướng nghiên cứu

Start with the StackBlitz reproduction and the mat-horizontal-stepper and matStepperIcon entry points shown in the issue. Determine how the stepper selects the edit and done icons, then verify that completed and active headers can display numbers without those icons.

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

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.