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