VOOZH about

URL: https://www.geeksforgeeks.org/angular-js/angular-forms-formcontroldirective/

⇱ Angular forms FormControlDirective - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Angular forms FormControlDirective

Last Updated : 23 Jul, 2025

In this article, we are going to see what is FormControlDirective in Angular 10 and how to use it.

The FormControlDirective is used to synchronize a standalone FormControl instance to a form control element

<form [FormControlDirective] ="name">

Exported from:

  • ReactiveFormsModule

Selectors:

  • [FormControl]
 

Approach: 

  • Create the Angular app to be used
  • In app.component.ts make an object that contains a value for the input.
  • In app.component.html use FormControlDirective to get values.
  • Serve the angular app using ng serve to see the output.

Example:

Output:

👁 Image

Reference: https://v17.angular.io/api/forms/FormControlDirective

Comment

Explore