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

8 lines
326 B
JavaScript
Raw Normal View History

2018-01-31 01:21:21 +03:00
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.`
2018-01-31 01:21:21 +03:00
}