@oneblink/apps-react
    Preparing search index...

    Variable OneBlinkAutoSaveForm

    OneBlinkAutoSaveForm: MemoExoticComponent<
        (
            __namedParameters: OneBlinkReadOnlyFormProps & {
                abnLookupAuthenticationGuid?: string;
                attachmentRetentionInDays?: number;
                buttons?: {
                    cancel?: ButtonConfiguration;
                    cancelPromptNo?: ButtonConfiguration;
                    cancelPromptYes?: ButtonConfiguration;
                    saveDraft?: ButtonConfiguration;
                    submit?: ButtonConfiguration;
                };
                captchaSiteKey?: string;
                captchaType?: CaptchaType;
                disabled?: boolean;
                getCurrentSubmissionDuration?: () => number;
                handleNavigateAway?: () => unknown;
                isInfoPage?: "YES" | "NO" | "CALCULATED";
                isPendingQueueEnabled: boolean;
                isPreview?: boolean;
                navigableValidationErrorsNotificationSettings?: {
                    navigationTopOffset?: number;
                    scrollableContainerId?: string;
                };
                onBeforeUnload?: (
                    props: {
                        definition: Form;
                        lastElementUpdated: FormElement | undefined;
                        submission: { [name: string]: unknown };
                        submissionDuration: number | undefined;
                    },
                ) => void;
                onCancel: () => unknown;
                onSaveDraft?: (newDraftSubmission: NewDraftSubmission) => unknown;
                onSubmit: (newFormSubmission: NewFormSubmission) => unknown;
                onUploadAttachment?: (
                    options: UploadAttachmentConfiguration,
                    abortSignal?: AbortSignal,
                ) => Promise<FormSubmissionAttachment>;
                scrollToTopOfPage?: boolean;
                shouldUseNavigableValidationErrorsNotification?: boolean;
                validationIcon?: { accessibleLabel?: string; icon: string };
            } & OneBlinkFormUncontrolledProps & {
                resumeAtElement?: FormElement;
                resumePreviousElapsedDurationSeconds?: number;
                resumeSectionState?: { id: string; state: "COLLAPSED"
                | "EXPANDED" }[];
            } & {
                autoSaveKey: string;
                removeAutoSaveDataBeforeSaveDraft?: boolean;
                removeAutoSaveDataBeforeSubmit?: boolean;
            },
        ) => Element,
    >

    This component is a drop in replacement for OneBlinkForm with the addition of auto save happening periodically to prevent users from losing submission data.

    If you need auto saving with a controlled form, see the OneBlinkFormControlled component for a full example.