From e88c153edd5c1d3d4c7755005f8ce5aa5c81cf33 Mon Sep 17 00:00:00 2001 From: majorpeter Date: Tue, 13 Feb 2024 22:05:59 +0100 Subject: [PATCH] added autocapitalize=off to user name and journal input fields --- frontend/src/pages/Dashboard/JournalEditorModal.tsx | 1 + frontend/src/pages/LoginPage.tsx | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/Dashboard/JournalEditorModal.tsx b/frontend/src/pages/Dashboard/JournalEditorModal.tsx index 1ac5668..bd2f4fb 100644 --- a/frontend/src/pages/Dashboard/JournalEditorModal.tsx +++ b/frontend/src/pages/Dashboard/JournalEditorModal.tsx @@ -125,6 +125,7 @@ const JournalEditorModal: React.FC = () => { textarea: { ref: textAreaRef, autoFocus: true, + autocapitalize: "off", }, }} value={userInput || data?.text} diff --git a/frontend/src/pages/LoginPage.tsx b/frontend/src/pages/LoginPage.tsx index 6758cb4..b48c79a 100644 --- a/frontend/src/pages/LoginPage.tsx +++ b/frontend/src/pages/LoginPage.tsx @@ -54,7 +54,11 @@ const LoginPage: React.FC = () => { )} Username - + Password