1
0
mirror of synced 2024-11-29 08:36:12 +03:00
vue-formulario/src~v1/errors.js
2019-10-07 10:24:30 -04:00

8 lines
326 B
JavaScript

export default {
required: ({label, value}) => `${label} is required`,
email: ({label, value}) => `${label} is invalid.`,
confirmed: ({label, value}) => `${label} does not match the confirmation field.`,
number: ({label, value}) => `${label} is not a number`,
default: ({label, value}) => `This field is invalid.`
}