From 3533cda43d9f8d0c7be33eb3d81503f757379cdb Mon Sep 17 00:00:00 2001 From: guillaume-peoch-sonarsource Date: Tue, 10 Sep 2024 11:30:59 +0200 Subject: [PATCH] SONAR-22931 Create User form validation fix ITs --- .../sonar-web/src/main/js/apps/users/components/UserForm.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx b/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx index 116c79a9e6a..0c6d2279823 100644 --- a/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx +++ b/server/sonar-web/src/main/js/apps/users/components/UserForm.tsx @@ -138,6 +138,7 @@ export default function UserForm(props: Props) { }; const header = user ? translate('users.update_user') : translate('users.create_user'); + const fieldsdMissing = user ? false : name === '' || login === '' || !password.isValid; return ( -- 2.39.5