Added missing attributes to umb-checkbox

This commit is contained in:
Poornima Nayar
2019-10-25 14:09:29 +01:00
parent 77f04a2efe
commit fdbef5b87d

View File

@@ -14,7 +14,8 @@
<ng-form name="changePasswordForm">
<umb-control-group alias="resetPassword" label="@user_resetPassword" ng-show="vm.config.enableReset">
<umb-checkbox model="vm.passwordValues.reset" />
<umb-checkbox model="vm.passwordValues.reset" name="resetPassword" server-validation-field="resetPassword"
on-change="vm.showReset = !vm.showReset" />
<span ng-messages="changePasswordForm.resetPassword.$error" show-validation-on-submit>
<span class="help-inline" ng-message="valServerField">{{changePasswordForm.resetPassword.errorMsg}}</span>
</span>