From f42dd485334966e3aa41d76d1c422fdb2de983cb Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Thu, 2 Jun 2022 15:40:34 +0200 Subject: [PATCH] =?UTF-8?q?feat(engine):=20=F0=9F=A7=91=E2=80=8D?= =?UTF-8?q?=F0=9F=92=BB=20Input=20default=20autocompletes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ChatBlock/ChatStep/inputs/TextForm/TextInputContent.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/bot-engine/src/components/ChatBlock/ChatStep/inputs/TextForm/TextInputContent.tsx b/packages/bot-engine/src/components/ChatBlock/ChatStep/inputs/TextForm/TextInputContent.tsx index bc5551ba5a5..e72c02290ae 100644 --- a/packages/bot-engine/src/components/ChatBlock/ChatStep/inputs/TextForm/TextInputContent.tsx +++ b/packages/bot-engine/src/components/ChatBlock/ChatStep/inputs/TextForm/TextInputContent.tsx @@ -61,6 +61,7 @@ export const TextInput = ({ step, value, onChange }: TextInputProps) => { step.options?.labels?.placeholder ?? 'Type your answer...' } onChange={handleInputChange} + autoComplete="off" /> ) } @@ -74,6 +75,7 @@ export const TextInput = ({ step, value, onChange }: TextInputProps) => { } onChange={handleInputChange} type="email" + autoComplete="email" /> ) } @@ -102,6 +104,7 @@ export const TextInput = ({ step, value, onChange }: TextInputProps) => { placeholder={step.options?.labels?.placeholder ?? 'Type your URL...'} onChange={handleInputChange} type="url" + autoComplete="url" /> ) }