angular / angular/components

Stepper header without icons

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

描述

#### 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

贡献指南

打开贡献指南

调研方向

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.

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

评估

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

把新 issue 发到你的邮箱

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