From e3855e83f74500c1a4495b951519ea7c6d49e7bd Mon Sep 17 00:00:00 2001 From: EgleH Date: Thu, 23 Feb 2023 18:18:01 +0100 Subject: [PATCH] conditional required causing issue with focusable fields (#210) Co-authored-by: EgleHelms --- src/containers/internal/views/accounts/form.tsx | 10 ---------- .../internal/views/applications/form.tsx | 14 -------------- 2 files changed, 24 deletions(-) diff --git a/src/containers/internal/views/accounts/form.tsx b/src/containers/internal/views/accounts/form.tsx index 8b416ee..c4c5e66 100644 --- a/src/containers/internal/views/accounts/form.tsx +++ b/src/containers/internal/views/accounts/form.tsx @@ -418,11 +418,6 @@ export const AccountForm = ({ apps, limits, account }: AccountFormProps) => { username: e.target.value, }); }} - required={ - webhook.stateVal.password && !webhook.stateVal.username - ? true - : false - } />