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, { let errors = validate(serialize(event.target, {
hash: true hash: true
}), this.constraits) }), this.constraits, {
fullMessages: false
})
if (errors) { if (errors) {
event.preventDefault() event.preventDefault()

Loading…
Cancel
Save