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

    Function getAutoSaveData

    • Get saved data.

      const formId = 1
      const myKey = 'my-key'
      const prefillData = await autoSaveService.getAutoSaveData(formId, myKey)
      if (prefillData) {
      // Ask user if they would like to continue with this prefill data.
      }

      Type Parameters

      • T

      Parameters

      • formId: number
      • autoSaveKey: string | null | undefined

      Returns Promise<T | null>