Stepper should provide an click event for step changes
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Add an click event that gets triggered when the step is clicked in the stepper component
What is the current behavior?
There's no such event.
What are the steps to reproduce?
NA
What is the use-case or motivation for changing an existing behavior?
We have some business logic that we need to save at each step. We have to show the message on click of step "Are you confirm?", we implemented with button click but unable to do in step click, and it's moving forward to next step on clicking of step.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 9+
Angular material 11.2
Is there anything else we should know?
Tried to use selectionChange event, no use.its working after the click event. i want to show or prevent before the change event.
needs to add click event on step like above. As of there is no option like that
Beitragsleitfaden
Rechercherichtung
Finde die Angular-Material-Stepper-Implementierung hinter mat-horizontal-stepper und mat-step und verfolge anschließend die Navigationspfade von selectionChange und step-click. Überprüfe die relevanten Stepper-Tests, sofern vorhanden; die Arbeit ist abgeschlossen, wenn die angeforderte Step-Interaktion abgedeckt ist und das im Issue beschriebene Bestätigungs- oder Verhinderungsverhalten unterstützt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100