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 2bfb4e5ca..cc127b666 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 @@ -193,6 +193,37 @@ interface DateFieldProps { export function DateField(props: DateFieldProps): JSX.Element { const classes = useStyles(); + if (props.value) { + return ( +
+ + ( + + )} + /> + + {props.required && } +
+ ); + } + return (
@@ -204,7 +235,7 @@ export function DateField(props: DateFieldProps): JSX.Element { mask="____/__/__" minDate={new Date('2019/12/01')} disableFuture - value={props.value} + value="yyyy/MM/dd" onChange={props.onChange} renderInput={(params) => (