}
fieldId="kc-console-connection-url"
isRequired
>
{form.errors.config &&
form.errors.config.connectionUrl &&
form.errors.config.connectionUrl[0] && (
{form.errors.config.connectionUrl[0].message}
)}
}
fieldId="kc-enable-start-tls"
hasNoPaddingTop
>
(
onChange([`${value}`])}
isChecked={value[0] === "true"}
label={t("common:on")}
labelOff={t("common:off")}
/>
)}
>
}
fieldId="kc-use-truststore-spi"
>
(
)}
>
}
fieldId="kc-connection-pooling"
hasNoPaddingTop
>
(
onChange([`${value}`])}
isChecked={value[0] === "true"}
label={t("common:on")}
labelOff={t("common:off")}
/>
)}
>
}
fieldId="kc-console-connection-timeout"
>
}
fieldId="kc-bind-type"
isRequired
>
(
)}
>
{_.isEqual(ldapBindType, ["simple"]) ? (
<>
}
fieldId="kc-console-bind-dn"
isRequired
>
{form.errors.config &&
form.errors.config.bindDn &&
form.errors.config.bindDn[0] && (
{form.errors.config.bindDn[0].message}
)}
}
fieldId="kc-console-bind-credentials"
isRequired
>
{form.errors.config &&
form.errors.config.bindCredential &&
form.errors.config.bindCredential[0] && (
{form.errors.config.bindCredential[0].message}
)}
{" "}
{/* TODO: whatever this button is supposed to do */}
>
) : (
<>>
)}
>
);
};