@getodk/web-forms 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -37,11 +37,12 @@ app.use(WebFormsPlugin);
37
37
 
38
38
  The `<OdkWebForm>` component accepts the following props:
39
39
 
40
- - `formXml` (`string`, required): The XML of the ODK XForm to be rendered
41
- - `fetchFormAttachment` (`FetchFormAttachment`, required): Function to fetch form attachments
42
- - `missingResourceBehavior` (`MissingResourceBehavior`, optional): Defines behavior when resources are missing
43
- - `submissionMaxSize` (`number`, optional): Maximum size for chunked submissions. Required when subscribing to `submitChunked` event
44
- - `editInstance` (`EditInstanceOptions`, optional): Options to resolve and load instance and attachment resources for editing
40
+ - `formXml` (`string`, required): The XML of the ODK XForm to be rendered.
41
+ - `fetchFormAttachment` (`FetchFormAttachment`, required): Function to fetch form attachments.
42
+ - `missingResourceBehavior` (`MissingResourceBehavior`, optional): Defines behavior when resources are missing.
43
+ - `submissionMaxSize` (`number`, optional): Maximum size for chunked submissions. Required when subscribing to `submitChunked` event.
44
+ - `attachmentMaxSize` (`number`, optional, defaults to 100MB): Maximum size for submission attachments in bytes.
45
+ - `editInstance` (`EditInstanceOptions`, optional): Options to resolve and load instance and attachment resources for editing.
45
46
  - `preloadProperties` (`PreloadProperties`, optional): Properties to make available for binding in the form using jr:preload.
46
47
  - `trackDevice` (`boolean`, optional, defaults to `false`): If `true`, generates a unique identifier for this device and stores it in `localstorage` for use in subsequent submissions. Ignored if `preloadProperties.deviceID` is given.
47
48