change error messages

feature/field-error
Björn 4 years ago
parent 0b10fb9cb5
commit 25ad0a6aba

File diff suppressed because one or more lines are too long

@ -47,7 +47,9 @@ class FormValidator
{
let errors = validate(serialize(event.target, {
hash: true
}), this.constraits)
}), this.constraits, {
fullMessages: false
})
if (errors) {
event.preventDefault()

Loading…
Cancel
Save