Topic: stepper linear - please update stepper docs

rrosales free asked 3 years ago

I was trying to use stepper with Linear orientation, using the examples as said at docs:

Linear stepper is a compontent which is the most common. If you need to activate linear mode, add [linear]="true" input to the mdb-stepper component.

When you are working with this stepper you have to put a correct values to do more steps.

<mdb-stepper #stepper [linear]="true">
  <mdb-step name="Step 1" [stepForm]="firstFormGroup">

That code didnt work, but i figure out when see non angular examples and use [vertical] ="true" instead of [linear] = "true"and it work.

Please update docs,

Grzegorz Bujański staff commented 3 years ago

Hi. Linear stepper and vertical stepper are two different things. Linear stepper is a stepper that requires completing the data in the first step in order to be able to proceed to the next step. If you just wanted to use a vertical stepper then the [vertical]="true" option is for you, not the [linear]="true".

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 9.3.1
  • Device: Desktop, Mobile
  • Browser: Chrome Version 81.0.4044.138
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: No