From a74a39b576a12c11aaa4176a2f8350ccda07d1cf Mon Sep 17 00:00:00 2001 From: martincupela Date: Thu, 31 Oct 2024 18:20:19 +0100 Subject: [PATCH] feat: turn off autocomplete on forms --- src/components/Dialog/FormDialog.tsx | 2 +- src/components/MessageInput/EditMessageForm.tsx | 2 +- src/components/Poll/PollCreationDialog/PollCreationDialog.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Dialog/FormDialog.tsx b/src/components/Dialog/FormDialog.tsx index 50a941147..fe224dda6 100644 --- a/src/components/Dialog/FormDialog.tsx +++ b/src/components/Dialog/FormDialog.tsx @@ -108,7 +108,7 @@ export const FormDialog = <
{title &&
{title}
} -
+ {Object.entries(fields).map(([id, fieldConfig]) => (
{fieldConfig.label && ( diff --git a/src/components/MessageInput/EditMessageForm.tsx b/src/components/MessageInput/EditMessageForm.tsx index 847e73053..34ad16fee 100644 --- a/src/components/MessageInput/EditMessageForm.tsx +++ b/src/components/MessageInput/EditMessageForm.tsx @@ -25,7 +25,7 @@ export const EditMessageForm = < }, [clearEditingState]); return ( - +