2018-01-31 01:21:21 +03:00
|
|
|
export default {
|
2018-02-01 18:47:11 +03:00
|
|
|
required: ({label, value}) => `${label} is required`,
|
|
|
|
email: ({label, value}) => `${label} is invalid.`,
|
|
|
|
confirmed: ({label, value}) => `${label} does not match the confirmation field.`,
|
2018-11-20 19:51:32 +03:00
|
|
|
number: ({label, value}) => `${label} is not a number`,
|
2018-02-01 18:47:11 +03:00
|
|
|
default: ({label, value}) => `This field is invalid.`
|
2018-01-31 01:21:21 +03:00
|
|
|
}
|