pdfrx_web
    Preparing search index...

    Interface PdfFormFieldsState

    Form-field state returned by useFormFields.

    interface PdfFormFieldsState {
        fields: readonly PdfFormField[];
        isLoading: boolean;
        reload: () => void;
        setValue: (name: string, value: PdfFormFieldValue) => Promise<void>;
    }
    Index
    fields: readonly PdfFormField[]

    All AcroForm fields of the document (grouped by name), [] when there are none.

    isLoading: boolean

    Whether the fields are being loaded.

    reload: () => void

    Forces a reload of the field list.

    setValue: (name: string, value: PdfFormFieldValue) => Promise<void>

    Sets a field's value (see PdfFormFieldValue). The change is applied through the form-fill module, re-renders the affected page, and refreshes fields via the document's formFieldsChanged event.