![]() |
VOOZH | about |
In this article, we are going to see what is NgForm in Angular 10 and how to use it. NgForm is used to create a top-level form group Instance, and it binds the form to the given form value.
Syntax:
<form #FormName = "ngForm"> </form>
NgModule: Module used by NgForm is:
Selectors:
Approach:
Example 1:
Output:
👁 ImageReference: https://v17.angular.io/api/forms/NgForm