Wednesday, 1 November 2017

Angular 4: Model properties are not being updated after changing value in html view

To resolve this problem try using round bracket inside the suqare bracket in databinding like "[(ngModel)]="customer.name"".

Example:
 <input type="text" [(ngModel)]="customer.name" /></td>

No comments:

Post a Comment