Nutrient Web SDK

v0.0.0-dev

ReferenceSerializersTextFormFieldJSON

Type Alias TextFormFieldJSON

Type Alias
Type Signature
type TextFormFieldJSON = {
    additionalActions?:
        | {
            [key: string]: { type: string; [key: string]: unknown }
            | undefined;
        }
        | null;
    annotationIds: string[];
    flags?: ("readOnly" | "required" | "noExport")[];
    group?: string | null;
    id: string;
    label: string;
    name: string;
    pdfObjectId?: number | null;
    permissions?: {
        delete: boolean;
        edit: boolean;
        fill?: boolean;
        reply?: boolean;
        setGroup: boolean;
    };
    v: 1;
    comb: boolean;
    defaultValue: string;
    doNotScroll: boolean;
    maxLength?: number
    | null;
    multiLine: boolean;
    password: boolean;
    type: "pspdfkit/form-field/text";
} & (
    | { doNotSpellCheck?: undefined } & Record<"doNotSpellcheck", boolean>
    | { doNotSpellcheck?: undefined } & Record<"doNotSpellCheck", boolean>
)