diff --git a/src/formio/components/cosign.ts b/src/formio/components/cosign.ts index 99ece67..850683e 100644 --- a/src/formio/components/cosign.ts +++ b/src/formio/components/cosign.ts @@ -43,7 +43,7 @@ export interface CosignV1ComponentSchema extends Omit({ // translatedErrors is converted into errors by the backend required: 'Je moet een waarde opgeven!!!', }, - // registration tab in builder form - registration: { - attribute: '', - }, // translations tab in builder form openForms: { translations: { @@ -114,3 +110,16 @@ expectNotAssignable({ authPlugin: 'digid', confirmationRecipient: true, }); + +// registration attributes are not supported +expectNotAssignable({ + id: 'yejak', + type: 'cosign' as const, + validateOn: 'blur' as const, + key: 'someCoSign', + label: 'Some cosign', + authPlugin: 'digid', + registration: { + attribute: 'foo', + }, +});