-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/stepperfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Thanks for everyone who works on this project! I just upgraded to beta12 and am using the Stepper component now. I had a few proposals after using it for a bit. Please let me know what you think-I'd love to help contribute if we want any of these (:
- Mat-Stepper with horizontal/vertical as an input.
- Use Case: I have a stepper that I want to toggle between horizontal/vertical for different screen aspect ratios but with the same content and steps. Currently I would need to create two separate components and toggle between the two which feels messy.
- Proposal: Replace mat-vertical-stepper and mat-horizontal-stepper with mat-stepper that takes in an input to toggle between the two views
- SelectedIndex as input.
- Use Case: I want to programmatically change the current selectedStep. There was a question asked here about how to switch to the first step by setting the stepper.selectedIndex. I haven't been able to get this to work (possibly because of ChangeDetectionStrategy.OnPush)?
- Proposal: Stepper should take SelectedIndex as an input
- EDIT: Should be fixed by CdkStepper error when binding to selectedIndex #8031
- Reset Stepper.
- Use Case: I want to reset the stepper. I am using formGroup.reset() to reset each form, but this does not reset the visited states of each one of the steps.
- Proposal: Some way of resetting the stepper component to the initial state: First step is selected, Forms are reset, None of the steps have been touched etc.
- Animate Height.
- Use Case: Currently the steps slide right/left but the height of the stepper does not transition smoothly.
- Proposal: Transition the height of the steps when changing from one step to the other
Let me know what you think~
sam-lex, sumpton, Toub, Misiu, jorroll and 53 more
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/stepperfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix