Hi Everyone,

I am trying to add an editing option in my project.However,I have used this 
piece of code,wherein I have used  ngModel  it works for  some pages while 
it does not work for some.
I ain't able to track what exactly is the issue..Could someone help?Please 
check my code.

<form [formGroup]="form">
<div class="box-body">
<div class="row">
<div class="form-group col-md-10">
<label for="group_name">Group Name</label>
<input 
[(ngModel)]="itemgroup.group_name"
formControlName="group_name" 
class="form-control" 
id="group_name" 
placeholder="Enter Group Name">
Here itemgroup is the class and it has field named group_name The same 
piece of code works for category_name but not for this. 
Thanks,
Rakhee 

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to