@switch (stepper.selectedIndex) { @case (0) { @for (animalType of animalTypes; track animalType) { } Please choose an animal species!
} @case (1) { Please enter a name!
} @case (2) { @if (breedForm.form.get('dogBreed')) { @for (breed of dogBreeds; track breed) { } Please select a breed! } @if (breedForm.form.get('catBreed')) { @for (breed of catBreeds; track breed) { } Please select a breed! }
} @case (3) { Please enter an age!
} }
`{{ value| json }}`
Vertical Horizontal