I want to limit start year and end year inputs to 60 years ago from today. that is, when the person touches the input, the years must come up to 60 years ago from today. the select year comes as Mokdata for now.
<Select
label="Start Year"
menuItems={selectYear}
name={`educations[${index}].startYear`}
value={formik.values.educations[index].startYear}
handleChange={formik.handleChange}
color="secondary"
error={formik.errors.startYear}
/>
<FormHelperText error>{formik.errors.startYear}</FormHelperText>
<Select
label="End Year"
menuItems={selectYear}
name={`educations[${index}].endYear`}
value={formik.values.educations[index].endYear}
handleChange={formik.handleChange}
color="secondary"
error={formik.errors.endYear}
/>
<FormHelperText error>{formik.errors.endYear}</FormHelperText>```