diff --git a/src/form/DateTimeInput/DateTimeInput.tsx b/src/form/DateTimeInput/DateTimeInput.tsx index e097bedd1..7d4c1332b 100644 --- a/src/form/DateTimeInput/DateTimeInput.tsx +++ b/src/form/DateTimeInput/DateTimeInput.tsx @@ -193,7 +193,7 @@ export default function DateTimeInput(props: Props) { placeholder, invalid: valid === false || hasFormatError, id, - autocomplete: 'off' + autoComplete: 'off' }} open={mode === 'modal' ? false : undefined} renderInput={(props) => diff --git a/src/form/DateTimeInput/__snapshots__/DateTimeInput.test.tsx.snap b/src/form/DateTimeInput/__snapshots__/DateTimeInput.test.tsx.snap index 52bd118bf..9fd9b8224 100644 --- a/src/form/DateTimeInput/__snapshots__/DateTimeInput.test.tsx.snap +++ b/src/form/DateTimeInput/__snapshots__/DateTimeInput.test.tsx.snap @@ -66,7 +66,7 @@ exports[`Component: DateTimeInput ui with date picker in modal: Component: DateT input={true} inputProps={ Object { - "autocomplete": "off", + "autoComplete": "off", "id": "dateOfBirth", "invalid": false, "mask": Array [ @@ -153,7 +153,7 @@ exports[`Component: DateTimeInput ui with date picker in modal: Component: DateT input={true} inputProps={ Object { - "autocomplete": "off", + "autoComplete": "off", "id": "dateOfBirth", "invalid": false, "mask": Array [ @@ -250,7 +250,7 @@ exports[`Component: DateTimeInput ui with format error: Component: DateTimeInput input={true} inputProps={ Object { - "autocomplete": "off", + "autoComplete": "off", "id": "dateOfBirth", "invalid": true, "mask": Array [ @@ -336,7 +336,7 @@ exports[`Component: DateTimeInput ui with label: Component: DateTimeInput => ui input={true} inputProps={ Object { - "autocomplete": "off", + "autoComplete": "off", "id": "dateOfBirth", "invalid": false, "mask": Array [ @@ -399,7 +399,7 @@ exports[`Component: DateTimeInput ui without label: Component: DateTimeInput => input={true} inputProps={ Object { - "autocomplete": "off", + "autoComplete": "off", "id": "dateOfBirth", "invalid": false, "mask": Array [