Changed cert to text-area (#4338)
This commit is contained in:
parent
038122ca12
commit
1a7d229fd0
1 changed files with 10 additions and 7 deletions
|
@ -13,9 +13,10 @@ import { Controller, useFormContext, useWatch } from "react-hook-form";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
import { HelpItem } from "../../components/help-enabler/HelpItem";
|
import { HelpItem } from "../../components/help-enabler/HelpItem";
|
||||||
|
import { KeycloakTextArea } from "../../components/keycloak-text-area/KeycloakTextArea";
|
||||||
import { KeycloakTextInput } from "../../components/keycloak-text-input/KeycloakTextInput";
|
import { KeycloakTextInput } from "../../components/keycloak-text-input/KeycloakTextInput";
|
||||||
|
import { FormGroupField } from "../component/FormGroupField";
|
||||||
import { SwitchField } from "../component/SwitchField";
|
import { SwitchField } from "../component/SwitchField";
|
||||||
import { TextField } from "../component/TextField";
|
|
||||||
|
|
||||||
import "./discovery-settings.css";
|
import "./discovery-settings.css";
|
||||||
|
|
||||||
|
@ -473,12 +474,14 @@ const Fields = ({ readOnly }: DescriptorSettingsProps) => {
|
||||||
isReadOnly={readOnly}
|
isReadOnly={readOnly}
|
||||||
/>
|
/>
|
||||||
{validateSignature === "true" && (
|
{validateSignature === "true" && (
|
||||||
<TextField
|
<FormGroupField label="validatingX509Certs">
|
||||||
field="config.signingCertificate"
|
<KeycloakTextArea
|
||||||
label="validatingX509Certs"
|
id="validatingX509Certs"
|
||||||
data-testid="validatingX509Certs"
|
data-testid="validatingX509Certs"
|
||||||
isReadOnly={readOnly}
|
isReadOnly={readOnly}
|
||||||
/>
|
{...register("config.signingCertificate")}
|
||||||
|
></KeycloakTextArea>
|
||||||
|
</FormGroupField>
|
||||||
)}
|
)}
|
||||||
<SwitchField
|
<SwitchField
|
||||||
field="config.signSpMetadata"
|
field="config.signSpMetadata"
|
||||||
|
|
Loading…
Reference in a new issue