A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
fix: Education Date picker modal
Jubair70145aa14ba00f
diff --git a/client/modals/builder/sections/EducationModal.tsx b/client/modals/builder/sections/EducationModal.tsxindex 067c1d9df..e355f7474 100644--- a/client/modals/builder/sections/EducationModal.tsx+++ b/client/modals/builder/sections/EducationModal.tsx@@ -172,14 +172,11 @@ const EducationModal: React.FC = () => {label={t('builder.common.form.start-date.label')}value={dayjs(field.value)}views={['year', 'month', 'day']}- slots={{- textField: (params) => (- <TextField- {...params}- error={!!fieldState.error}- helperText={fieldState.error?.message || params.inputProps?.placeholder}- />- ),+ slotProps={{+ textField: {+ error: !!fieldState.error,+ helperText: fieldState.error?.message || t('builder.common.form.start-date.help-text')+ },}}onChange={(date: dayjs.Dayjs | null) => {date && dayjs(date).isValid() && field.onChange(dayjs(date).format('YYYY-MM-DD'));@@ -198,14 +195,11 @@ const EducationModal: React.FC = () => {label={t('builder.common.form.end-date.label')}value={dayjs(field.value)}views={['year', 'month', 'day']}- slots={{- textField: (params) => (- <TextField- {...params}- error={!!fieldState.error}- helperText={fieldState.error?.message || t('builder.common.form.end-date.help-text')}- />- ),+ slotProps={{+ textField: {+ error: !!fieldState.error,+ helperText: fieldState.error?.message || t('builder.common.form.end-date.help-text')+ },}}onChange={(date: dayjs.Dayjs | null) => {date && dayjs(date).isValid() && field.onChange(dayjs(date).format('YYYY-MM-DD'));