yup message when type not match
const schema = Yup.object().shape({
valid_since: Yup.date().typeError('Incorrect date'),
});
Are there any code examples left?
New code examples in category Javascript
const schema = Yup.object().shape({
valid_since: Yup.date().typeError('Incorrect date'),
});