fixed disabled switch for respondent notifications bug
This commit is contained in:
parent
66409c15d8
commit
f897b39549
|
@ -20,10 +20,9 @@
|
||||||
<input bs-switch class="toggle-switch notification-toggle" type="checkbox"
|
<input bs-switch class="toggle-switch notification-toggle" type="checkbox"
|
||||||
switch-size="small"
|
switch-size="small"
|
||||||
ng-model="myform.respondentNotifications.enabled"
|
ng-model="myform.respondentNotifications.enabled"
|
||||||
ng-if="myform.respondentNotifications"
|
|
||||||
switch-on-text="{{ 'ON' | translate }}"
|
switch-on-text="{{ 'ON' | translate }}"
|
||||||
switch-off-text="{{ 'OFF' | translate }}"
|
switch-off-text="{{ 'OFF' | translate }}"
|
||||||
switch-active="!formHasEmailField"
|
switch-active="{{formHasEmailField}}"
|
||||||
ng-true-value="true"
|
ng-true-value="true"
|
||||||
ng-false-value="false">
|
ng-false-value="false">
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue