validate birthdate

This commit is contained in:
Ben Wheeler 2019-07-17 12:40:59 -04:00
parent 9539afd0e2
commit 55e7ada760

View file

@ -237,10 +237,13 @@ class BirthDateStep extends React.Component {
]);
}
validateSelect (selection) {
console.log(selection);
if (selection === 'null') {
return this.props.intl.formatMessage({id: 'form.validationRequired'});
}
validateForm (values) {
console.log(values);
return null;
}
validateForm () {
return {};
}
handleValidSubmit (formData, formikBag) {
formikBag.setSubmitting(false);