FunctionOneBlinkAutoSaveForm One Blink Auto Save Form ( props ) : null | ReactElement < any , string | JSXElementConstructor < any > > Parameters props : OneBlinkReadOnlyFormProps & { abnLookupAuthenticationGuid ?: string ; attachmentRetentionInDays ?: number ; buttons ?: { cancel ?: ButtonConfiguration ; cancelPromptNo ?: ButtonConfiguration ; cancelPromptYes ?: ButtonConfiguration ; saveDraft ?: ButtonConfiguration ; submit ?: ButtonConfiguration ; } ; captchaSiteKey ?: string ; captchaType ?: CaptchaType ; disabled ?: boolean ; handleNavigateAway ?: ( ( ) => unknown ) ; isInfoPage ?: "YES" | "NO" | "CALCULATED" ; isPendingQueueEnabled : boolean ; isPreview ?: boolean ; navigableValidationErrorsNotificationSettings ?: { navigationTopOffset ?: number ; scrollableContainerId ?: string ; } ; onCancel : ( ( ) => unknown ) ; onSaveDraft ?: ( ( newDraftSubmission : NewDraftSubmission ) => unknown ) ; onSubmit : ( ( newFormSubmission : NewFormSubmission ) => unknown ) ; onUploadAttachment ?: ( ( options : UploadAttachmentConfiguration , abortSignal ?: AbortSignal ) => Promise < FormSubmissionAttachment > ) ; shouldUseNavigableValidationErrorsNotification ?: boolean ; } & OneBlinkFormUncontrolledProps & { resumeAtElement ?: FormElement ; } & { autoSaveKey : string ; removeAutoSaveDataBeforeSaveDraft ?: boolean ; removeAutoSaveDataBeforeSubmit ?: boolean ; } Returns null | ReactElement < any , string | JSXElementConstructor < any > > PropertiesReadonly
$$typeof $$typeof : symbol
Defined in node_modules/@types/react/index.d.ts:355 Optional
display Name display Name ?: string
Defined in node_modules/@types/react/index.d.ts:359 Readonly
type type : ( ( __namedParameters : OneBlinkReadOnlyFormProps & { abnLookupAuthenticationGuid ?: string ; attachmentRetentionInDays ?: number ; buttons ?: { cancel ?: ButtonConfiguration ; cancelPromptNo ?: ButtonConfiguration ; cancelPromptYes ?: ButtonConfiguration ; saveDraft ?: ButtonConfiguration ; submit ?: ButtonConfiguration ; } ; captchaSiteKey ?: string ; captchaType ?: CaptchaType ; disabled ?: boolean ; handleNavigateAway ?: ( ( ) => unknown ) ; isInfoPage ?: "YES" | "NO" | "CALCULATED" ; isPendingQueueEnabled : boolean ; isPreview ?: boolean ; navigableValidationErrorsNotificationSettings ?: { navigationTopOffset ?: number ; scrollableContainerId ?: string ; } ; onCancel : ( ( ) => unknown ) ; onSaveDraft ?: ( ( newDraftSubmission : NewDraftSubmission ) => unknown ) ; onSubmit : ( ( newFormSubmission : NewFormSubmission ) => unknown ) ; onUploadAttachment ?: ( ( options : UploadAttachmentConfiguration ,
abortSignal ?: AbortSignal ) => Promise < FormSubmissionAttachment > ) ; shouldUseNavigableValidationErrorsNotification ?: boolean ; } & OneBlinkFormUncontrolledProps & { resumeAtElement ?: FormElement ; } & { autoSaveKey : string ; removeAutoSaveDataBeforeSaveDraft ?: boolean ; removeAutoSaveDataBeforeSubmit ?: boolean ; } ) => Element ) Defined in node_modules/@types/react/index.d.ts:848
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.
Param: props
Returns