Linear stepper without a form
See original GitHub issueBug, feature request, or proposal:
Proposal
What is the expected behavior?
Assign a condition for a step to be completed manually (form-independent)
What is the current behavior?
No option to mark step as completed without a form
What is the use-case or motivation for changing an existing behavior?
Fit more use cases
Is there anything else we should know?
for example:
<mat-horizontal-stepper formArrayName="formArray" linear [completed]="items.length">
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Material Stepper Without Form - StackBlitz
<button mat-raised-button (click)="isLinear = !isLinear" id="toggle-linear">. {{!isLinear ? 'Enable linear mode' : 'Disable linear mode'}}. </button>.
Read more >Angular Material Stepper component prevent going to all the ...
I'm not using form inside the stepper. I've seen the Linear property of the component, but it does not suit my requirement.
Read more >Linear Stepper does not work with non-form content
*Actual behavior*it works almost great, but if there are steps, that not contain a form, but other controls (e.g. selection of people via...
Read more >Stepper | Angular Material
Note that since linear steppers prevent a user from advancing past an invalid step to begin with, this setting will not affect steppers...
Read more >Angular Material Stepper 'linear' issue for everyone? - Reddit
The problem is with the stepper. When I set my stepper with linear='true', I still can go through the steps by clicking on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Dannythm Looks like you need to bind to
[completed]
. See this modification of your stackblitz:https://stackblitz.com/edit/mat-horizontal-stepper-5d2ttr
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.