What is formcontroldirective and formcontrolname in angular
Answers
Answered by
0
It can be used standalone as well as with the parent form. When we work with FormControl class, FormControlDirective and FormControlName directives are also used. FormControlDirective: It syncs a standalone FormControl instance to form a control element. FormControlName: It is used with FormGroup with a <form> tag.
Similar questions