AngularAngular 2+Angular 6+Angular JS Set a dynamic property in ngModel inside ngFor, with Angular 2+ By Rahul Bhutani - April 14, 2020 0 1891 Share Facebook Twitter Google+ Pinterest WhatsApp The answer was easy : [(ngModel)]="selectedData[myField.name]" If field.Name has a value of ‘label’, the previous code is equivalent as : [(ngModel)]="selectedData.label"