0👍
✅
You can do something like:
validations: {
password: {
required,
minLength: minLength(6)
},
repeatPassword: {
sameAsPassword: sameAs('password')
}
}
Source:stackexchange.com