Component for rendering a OneBlink Form. This component will render the
submit, cancel and save draft buttons but it is up to the developer to
implement what happens when those buttons are clicked.
It is also recommended to import the css from this library as well.
try { constnewFormSubmissionResult = awaitsubmissionService.submit({ formSubmission, }) if ( newFormSubmissionResult.isOffline && !newFormSubmissionResult.isInPendingQueue ) { thrownewOneBlinkAppsError( 'You cannot submit this form while offline, please try again when connectivity is restored.', { isOffline:true, }, ) }
Component for rendering a OneBlink Form. This component will render the submit, cancel and save draft buttons but it is up to the developer to implement what happens when those buttons are clicked.
It is also recommended to import the
css
from this library as well.Example