How to bind and edit my text box in angular 2.
I need to bind data from api and edit
<div>
<button class="btn btn-primary" (click)="GetTax(ID)">GetValuesbutton>
div>
<div class="col-md-2 col-md-offset-3">
<p> Name <input name="tn" type="text" [(ngModel)]="Name" /> p>
<p> p>
this is not binding also given classname.name in ngmodel
Sujeet RamanPosted May 4, 2017, 12:26 AM
Nilesh JadavPosted May 3, 2017, 10:42 PM
what does it mean for binding and then edit ?
For Binding you can do like this :
Sample Application
Enter your Name:
Hello !
Hi
Ahoy
For edit please make a clear note so that we can understand, elaborate your query in detail.