This commit is contained in:
Nikolaos Laskaris 2017-11-08 16:11:21 +02:00
parent 88327290a4
commit 465a456699
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
<div class="form-group">
<label *ngIf="label" for="{{id}}">{{label}}</label>
<input auto-complete class="form-control" id="{{id}}" [ngModel]="selectedValue" (ngModelChange)="updateByQuery($event)" [source]="values" />
<input auto-complete class="form-control" [formControlName]="{{formControlName}}" id="{{id}}" [ngModel]="selectedValue" (ngModelChange)="updateByQuery($event)" [source]="values" />
</div>
class="form-control" [formControl]="name"