The renderer maps orbitWizard state to Material navigation components while the consumer still owns forms, step markup, and completion side effects.
- Install Angular Material in the consuming app.
- Provide your own step forms and sync validity through wizard-kit or manual setValid calls.
import { ReactiveFormsModule } from '@angular/forms';
import { OrbitWizardDirective } from '@ng-orbit/wizard';
import { OrbitWizardStepFormSyncDirective } from '@ng-orbit/wizard-kit';
import { OrbitWizardRenderMaterialComponent } from '@ng-orbit/wizard-render-material';
<section orbitWizard #wizard="orbitWizard" [steps]="steps" (completed)="submit()">
<orbit-wizard-render-material [wizard]="wizard">
<form
[formGroup]="accountForm"
[orbitWizardStepFormSync]="wizard"
orbitWizardStepId="account"
[orbitWizardStepForm]="accountForm"
>
<!-- consumer-owned fields -->
</form>
</orbit-wizard-render-material>
</section>