Angular 22 · Components and templates

Bind a form field in both directions

Keep a signal in sync with an input. Needs FormsModule.

<input [(ngModel)]="name">

Official Angular 22 documentation

More components and templates commands

All components and templates commands · Angular 22 cheatsheet

Was this page helpful?