diff --git a/src/components/form/data/apply.tsx b/src/components/form/data/apply.tsx index a5a69ad..267d7eb 100644 --- a/src/components/form/data/apply.tsx +++ b/src/components/form/data/apply.tsx @@ -163,6 +163,7 @@ export const apply: FormData = { age: Yup.number() .typeError('Input must be a number') + .integer('Please enter a whole number') .min(0, 'Please enter a valid age') .max(999, 'We do not accept players older than 999 years old sorry!') .required('You are required to fill out your age'), @@ -175,6 +176,7 @@ export const apply: FormData = { avg_time: Yup.number() .typeError('Please enter a number') + .integer('Please enter a whole number') .min(0, 'Please enter a positive number') .max(168, 'There are only 168 hours in a week') .required('Please enter the average time you will be available each week'),