angular 2 ngModel parse error with Elvis operator
Try using *ngIf
on input:
<input type="text" *ngIf="employerShare in data.insObj.static['AHV,IV,EO']" [(ngModel)]="data.insObj.static['AHV,IV,EO'].employerShare"
You need to split the two-way-binding to one data and one event binding:
[ngModel]="data?.insObj?.static && data.insObj.static['AHV,IV,EO']?.employerShare"
(ngModelChange)="data.insObj.static['AHV,IV,EO'] && data.insObj.static['AHV,IV,EO'].employerShare = $event"