#440 widgets show real values of the form

This commit is contained in:
Denys Vuika
2016-07-20 12:06:04 +01:00
parent b75c9b7be9
commit f43c7af2db
5 changed files with 9 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
<label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect" [attr.for]="field.id">
<input type="checkbox" [attr.id]="field.id" class="mdl-checkbox__input">
<input type="checkbox" [attr.id]="field.id" class="mdl-checkbox__input" [(ngModel)]="field.value">
<span class="mdl-checkbox__label">{{field.name}}</span>
</label>