We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 913c5b5 commit d2cc15aCopy full SHA for d2cc15a
templates/app/client/app/account(auth)/signup/signup.controller.js
@@ -66,7 +66,7 @@ export default class SignupController {
66
<%_ if(filters.sequelizeModels) { -%>
67
// Update validity of form fields that match the sequelize errors
68
if(err.name) {
69
- angular.forEach(err.fields, field => {
+ angular.forEach(err.fields, (error, field) => {
70
form[field].$setValidity('mongoose', false);
71
this.errors[field] = err.message;
72
});
0 commit comments