Convert attribute name to form (#3405)

This commit is contained in:
Erik Jan de Wit 2022-09-29 13:07:02 +02:00 committed by GitHub
parent 82a16385d1
commit f0ee68afc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,8 +49,12 @@ export const SamlSignature = () => {
const { control, watch } = useFormContext<ClientRepresentation>();
const signDocs = watch("attributes.saml.server.signature");
const signAssertion = watch("attributes.saml.assertion.signature");
const signDocs = watch(
convertAttributeNameToForm("attributes.saml.server.signature")
);
const signAssertion = watch(
convertAttributeNameToForm("attributes.saml.assertion.signature")
);
return (
<FormAccess