Application behavior

Forms

Compare template-driven, typed reactive, and Signal Forms on the same pickup-code interaction.

Angular 22.3.2 · trace
Lesson flow Register. Validate. Update. Submit.
Register
Validate
Update
Submit

Objective

Trace how touch, validation, and submission change as a learner fills a required field.

Transcript

Angular 22.3.2

  1. A template-driven form registers a named NgModel control with NgForm. Template directives set validation requirements.
  2. A typed reactive form declares its non-nullable control and validators in TypeScript and binds it with formControlName.
  3. Both examples accept only a valid submission. The fixture supplies synthetic input and stores the accepted code locally.
  4. Signal Forms build a field tree from a model signal. The fixture observes value, dirty, touched, async validation pending, and submitting state.

Sources