mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
#215: do not reload captcha after form errors was cleared
This commit is contained in:
@ -102,7 +102,9 @@ export default class FormModel {
|
||||
}
|
||||
}
|
||||
|
||||
this.fields[fieldId].onFormInvalid();
|
||||
if (this.hasErrors()) {
|
||||
this.fields[fieldId].onFormInvalid();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user