Closed Rowno closed 5 years ago
Setting the hasError field option should stop the form submitting. E.g:
hasError
{ fields: { email: { error: 'An email address is already in use', hasError: true } } }
The form submits and onSubmit is fired like nothing is wrong.
onSubmit
true
Version
Expected behaviour
Setting the
hasError
field option should stop the form submitting. E.g:Actual behaviour
The form submits and
onSubmit
is fired like nothing is wrong.Steps to reproduce
hasError
totrue
for a field.