diff --git a/components/case/representation/representationElements.js b/components/case/representation/representationElements.js index 406db598..1ead62f0 100644 --- a/components/case/representation/representationElements.js +++ b/components/case/representation/representationElements.js @@ -653,6 +653,7 @@ export const RenderDatePicker = ({ className="govuk-input govuk-input--width-10" minDate={minDate} maxDate={maxDate} + autoComplete="off" //value={!value ? null : moment(value, "DD/MM/yyyy")} /> diff --git a/components/elements/index.js b/components/elements/index.js index 3b9bcc3e..3f689ab9 100644 --- a/components/elements/index.js +++ b/components/elements/index.js @@ -537,7 +537,7 @@ const RenderDatePicker = ({ id={id + "_label"} htmlFor={id} > - {FieldsTranslations(label)} + {FieldsTranslations(label)} ssss {touched && error && ( @@ -574,6 +574,7 @@ const RenderDatePicker = ({ className="govuk-input govuk-input--width-10" minDate={minDate} maxDate={maxDate} + autoComplete="off" //value={!value ? null : moment(value, "DD/MM/yyyy")} />