From 0660f014c8f6fe4b620e9ad1707c187528bd3a73 Mon Sep 17 00:00:00 2001 From: Carlos Valente <34649812+cpvalente@users.noreply.github.com> Date: Sat, 25 Nov 2023 22:04:47 +0100 Subject: [PATCH] fix: prevent autocomplete (#620) --- apps/client/src/common/components/input/time-input/TimeInput.tsx | 1 + .../src/features/event-editor/composite/CountedTextInput.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/client/src/common/components/input/time-input/TimeInput.tsx b/apps/client/src/common/components/input/time-input/TimeInput.tsx index 04fdf5b31..d584b8f02 100644 --- a/apps/client/src/common/components/input/time-input/TimeInput.tsx +++ b/apps/client/src/common/components/input/time-input/TimeInput.tsx @@ -212,6 +212,7 @@ export default function TimeInput(props: TimeInputProps) { onKeyDown={onKeyDownHandler} value={value} maxLength={8} + autoComplete='off' /> ); diff --git a/apps/client/src/features/event-editor/composite/CountedTextInput.tsx b/apps/client/src/features/event-editor/composite/CountedTextInput.tsx index 7c9ebf351..e9dc52cc6 100644 --- a/apps/client/src/features/event-editor/composite/CountedTextInput.tsx +++ b/apps/client/src/features/event-editor/composite/CountedTextInput.tsx @@ -40,6 +40,7 @@ export default function CountedTextInput(props: CountedTextInputProps) { onChange={onChange} onBlur={onBlur} onKeyDown={onKeyDown} + autoComplete='off' /> );