Browse Source

set samlABLCRule as defaultValue

Yuki Takei 6 years ago
parent
commit
fb8188c283
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/client/js/components/Admin/Security/SamlSecuritySetting.jsx

+ 1 - 1
src/client/js/components/Admin/Security/SamlSecuritySetting.jsx

@@ -481,7 +481,7 @@ pWVdnzS1VCO8fKsJ7YYIr+JmHvseph3kFUOI5RqkCcMZlKUv83aUThsTHw==
                     <input
                     <input
                       className="form-control"
                       className="form-control"
                       type="text"
                       type="text"
-                      value={adminSamlSecurityContainer.state.samlABLCRule || ''}
+                      defaultValue={adminSamlSecurityContainer.state.samlABLCRule || ''}
                       onChange={(e) => { adminSamlSecurityContainer.changeSamlABLCRule(e.target.value) }}
                       onChange={(e) => { adminSamlSecurityContainer.changeSamlABLCRule(e.target.value) }}
                       readOnly={useOnlyEnvVars}
                       readOnly={useOnlyEnvVars}
                     />
                     />