diff --git a/src/formio/components/cosign.ts b/src/formio/components/cosign.ts index f8917de..1a0c721 100644 --- a/src/formio/components/cosign.ts +++ b/src/formio/components/cosign.ts @@ -1,5 +1,4 @@ -import {OFExtensions, StrictComponentSchema} from '..'; -import {EmailInputSchema} from './email'; +import {InputComponentSchema, OFExtensions, StrictComponentSchema} from '..'; type TranslatableKeys = 'label' | 'description'; @@ -43,7 +42,20 @@ export interface CosignV1ComponentSchema extends Omit; /** * The cosign component type, otherwise known as 'Cosign'. @@ -57,9 +69,8 @@ type V2KeysToOmit = 'hideLabel' | 'disabled' | 'placeholder'; * @group Form.io components * @category Concrete types */ -export interface CosignV2ComponentSchema extends Omit { +export interface CosignV2ComponentSchema + extends Omit { type: 'cosign'; - validateOn: 'blur'; - defaultValue?: string; // no multiple support, so must always be a single string - autocomplete?: string; + checkBsn: boolean; }