middag-react
    Preparing search index...

    Type Alias FormFieldNode

    FormFieldNode:
        | {
            component: "text"
            | "email"
            | "url"
            | "password"
            | "color";
            key: string;
            kind: "field";
            props: FieldPropsBase;
        }
        | {
            component: "textarea";
            key: string;
            kind: "field";
            props: FieldPropsBase & { rows?: number };
        }
        | {
            component: "otp";
            key: string;
            kind: "field";
            props: FieldPropsBase & {
                groupSize?: number;
                maxLength?: number;
                pattern?: "digits"
                | "alphanumeric";
            };
        }
        | {
            component: "int"
            | "float";
            key: string;
            kind: "field";
            props: FieldPropsBase & { max?: number; min?: number; step?: number };
        }
        | {
            component: "slider";
            key: string;
            kind: "field";
            props: FieldPropsBase & {
                max?: number;
                min?: number;
                multiple?: boolean;
                step?: number;
            };
        }
        | {
            component: "select"
            | "radio";
            key: string;
            kind: "field";
            props: OptionFieldProps;
        }
        | {
            component: "multiselect";
            key: string;
            kind: "field";
            props: OptionFieldProps;
        }
        | {
            component: "native_select";
            key: string;
            kind: "field";
            props: OptionFieldProps;
        }
        | {
            component: "checkbox"
            | "switch";
            key: string;
            kind: "field";
            props: FieldPropsBase;
        }
        | {
            component: "date"
            | "datetime";
            key: string;
            kind: "field";
            props: FieldPropsBase;
        }
        | {
            component: "duration";
            key: string;
            kind: "field";
            props: FieldPropsBase;
        }
        | {
            component: "file";
            key: string;
            kind: "field";
            props: FieldPropsBase & {
                accept?: string;
                maxFiles?: number;
                maxSize?: number;
                multiple?: boolean;
            };
        }
        | {
            component: "entity_picker";
            key: string;
            kind: "field";
            props: OptionFieldProps & {
                autocompleteHref?: string;
                autocompleteMinChars?: number;
                entityAvatarField?: string;
                entityDisplayField?: string;
                entitySubtitleField?: string;
            };
        }
        | {
            component: "phone";
            key: string;
            kind: "field";
            props: FieldPropsBase & {
                defaultCountry?: string;
                fixedCountry?: boolean;
            };
        }
        | {
            component: "document";
            key: string;
            kind: "field";
            props: FieldPropsBase & {
                documentMasks?: { [k: string]: FormFieldDocumentMask };
                documentScope?: "person" | "company" | "any";
                documentType?: string;
            };
        }
        | {
            component: "currency";
            key: string;
            kind: "field";
            props: FieldPropsBase & { currency?: string; currencyLocale?: string };
        }
        | {
            component: "slug";
            key: string;
            kind: "field";
            props: FieldPropsBase & { prefix?: string; sourceField?: string };
        }
        | {
            component: "tags";
            key: string;
            kind: "field";
            props: FieldPropsBase & { maxTags?: number };
        }
        | {
            component: "rating";
            key: string;
            kind: "field";
            props: FieldPropsBase & { maxRating?: number };
        }
        | {
            component: "date_range";
            key: string;
            kind: "field";
            props: FieldPropsBase & { operator?: string };
        }
        | {
            component: "hidden";
            key: string;
            kind: "field";
            props: FieldPropsBase;
        }
        | {
            component: "static";
            key: string;
            kind: "field";
            props: FieldPropsBase;
        }
        | {
            component: "header";
            key: string;
            kind: "field";
            props: { label: string };
        }
        | {
            component: "richtext"
            | "time";
            key: string;
            kind: "field";
            props: FieldPropsBase;
        }
        | {
            component: "autocomplete";
            key: string;
            kind: "field";
            props: OptionFieldProps;
        }