Application behavior
Forms
Compare template-driven, typed reactive, and Signal Forms on the same pickup-code interaction.
Angular 22.3.2 · trace
Objective
Trace how touch, validation, and submission change as a learner fills a required field.
Transcript
Angular 22.3.2
- A template-driven form registers a named NgModel control with NgForm. Template directives set validation requirements.
- A typed reactive form declares its non-nullable control and validators in TypeScript and binds it with formControlName.
- Both examples accept only a valid submission. The fixture supplies synthetic input and stores the accepted code locally.
- Signal Forms build a field tree from a model signal. The fixture observes value, dirty, touched, async validation pending, and submitting state.