@open-formulieren/types
    Preparing search index...

    Interface AddressNLComponentSchema

    interface AddressNLComponentSchema {
        clearOnHide?: boolean;
        conditional?: OFConditionalOptions;
        defaultValue?: AddressData | AddressData[];
        deriveAddress: boolean;
        description?: string;
        errors?: Object & ComponentErrors<"required">;
        hidden?: boolean;
        id: string;
        isSensitiveData?: boolean;
        key: string;
        label: string;
        layout: "singleColumn" | "doubleColumn";
        openForms?: { translations: ComponentTranslations<TK> } & AddressNLExtensions;
        registration?: { attribute: string };
        showInEmail?: boolean;
        showInPDF?: boolean;
        showInSummary?: boolean;
        tooltip?: string;
        translatedErrors?: ErrorTranslations<"required">;
        type: "addressNL";
        validate?: OFValidateOptions<"required" | "plugins">;
    }

    Hierarchy

    • Omit<
          AddressNLInputSchema,
          "hideLabel"
          | "placeholder"
          | "disabled"
          | "validateOn",
      >
      • AddressNLComponentSchema
    Index

    Properties

    clearOnHide?: boolean

    If the value of this field should be cleared when it is conditionally hidden.

    conditional?: OFConditionalOptions

    Dynamically determines if the component is visible/available.

    defaultValue?: AddressData | AddressData[]

    The default value of this compoennt.

    deriveAddress: boolean
    description?: string
    errors?: Object & ComponentErrors<"required">

    Allows customizable errors to be displayed for each component when an error occurs. This is an object with the following keys: required min max minLength maxLength invalid_email invalid_date pattern custom

    An object (keys listed above), values are the strings you wish to display. Each string has the {{ field }} to use within the string. Example. {"required": "{{ field }} is required. Try again."}

    hidden?: boolean

    Determines if the component should be within the form, but not visible. This can be overridden with the conditionals.

    id: string
    isSensitiveData?: boolean
    key: string

    The data key for this component (how the data is stored in the database, referenced as API key in docs).

    label: string

    The HTML label to give this component.

    layout: "singleColumn" | "doubleColumn"
    openForms?: { translations: ComponentTranslations<TK> } & AddressNLExtensions
    registration?: { attribute: string }
    showInEmail?: boolean
    showInPDF?: boolean
    showInSummary?: boolean
    tooltip?: string
    translatedErrors?: ErrorTranslations<"required">
    type: "addressNL"
    validate?: OFValidateOptions<"required" | "plugins">