diff --git a/client/modals/builder/sections/WorkModal.tsx b/client/modals/builder/sections/WorkModal.tsx index 05c0504b0..cc5c8781a 100644 --- a/client/modals/builder/sections/WorkModal.tsx +++ b/client/modals/builder/sections/WorkModal.tsx @@ -151,14 +151,11 @@ const WorkModal: React.FC = () => { label={t('builder.common.form.start-date.label')} value={dayjs(field.value)} views={['year', 'month', 'day']} - slots={{ - textField: (params) => ( - - ), + 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')); @@ -177,14 +174,11 @@ const WorkModal: React.FC = () => { label={t('builder.common.form.end-date.label')} value={dayjs(field.value)} views={['year', 'month', 'day']} - slots={{ - textField: (params) => ( - - ), + 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')); diff --git a/server/Dockerfile b/server/Dockerfile index 2ba1cd12b..05adcc37f 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -26,7 +26,7 @@ ENV TURBO_TOKEN=$TURBO_TOKEN RUN pnpm exec turbo --filter server build -FROM mcr.microsoft.com/playwright:v1.36.1-focal as production +FROM mcr.microsoft.com/playwright:v1.36.2-focal as production WORKDIR /app