Answers for "Error: If ngModel is used within a form tag"

1

Error: If ngModel is used within a form tag

// If form is used, all the input fields which have [(ngModel)]="" must have 
// an attribute name with a value.

<input [(ngModel)]="firstname" name="something">
Posted by: Guest on March-03-2021

Code answers related to "Error: If ngModel is used within a form tag"

Code answers related to "Javascript"

Browse Popular Code Answers by Language