From 9dce57417c297942dd10dc8686868f8e11485e0f Mon Sep 17 00:00:00 2001 From: mfrances Date: Thu, 4 Mar 2021 11:02:33 -0500 Subject: [PATCH] enable save only on dirty --- src/user-federation/UserFederationKerberosSettings.tsx | 8 +++++++- src/user-federation/UserFederationLdapSettings.tsx | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/user-federation/UserFederationKerberosSettings.tsx b/src/user-federation/UserFederationKerberosSettings.tsx index 078831f7ef..37d4a00d27 100644 --- a/src/user-federation/UserFederationKerberosSettings.tsx +++ b/src/user-federation/UserFederationKerberosSettings.tsx @@ -103,6 +103,7 @@ export const UserFederationKerberosSettings = () => { }, []); const setupForm = (component: ComponentRepresentation) => { + form.reset(); Object.entries(component).map((entry) => { form.setValue( "config.allowPasswordAuthentication", @@ -177,7 +178,12 @@ export const UserFederationKerberosSettings = () => {
-