diff --git a/verification/curator-service/ui/src/components/common-form-fields/FormikFields.tsx b/verification/curator-service/ui/src/components/common-form-fields/FormikFields.tsx index a2565204b..36dc9fe42 100644 --- a/verification/curator-service/ui/src/components/common-form-fields/FormikFields.tsx +++ b/verification/curator-service/ui/src/components/common-form-fields/FormikFields.tsx @@ -207,21 +207,18 @@ export function DateField(props: DateFieldProps): JSX.Element { data-testid={props.name} label={props.label} format="yyyy/MM/dd" - // mask="____/__/__" minDate={new Date('2019/12/01')} disableFuture value={dateValue} + name={props.name} onChange={props.onChange} - // renderInput={(params) => ( // TODO check if this is needed - // - // )} + slotProps={{ + textField: { + name: props.name, + error: !!props.errorMessage, + helperText: props.errorMessage, + }, + }} /> {props.required && }