FormRenderer
React Native
FormRenderer validates and prepares a schema, creates the form engine, renders native fields and
sections, and produces structured records or restorable snapshots.
Code
Essential properties
| Property | Purpose |
|---|---|
schema | A form0 schema containing form.elements. |
initialValues | Initial non-repeatable field values. |
initialSnapshot | Restore raw values, repeatable state, and timestamps together. |
overrideValues | Apply authoritative values over initial values. |
onSubmit | Receive a validation-gated structured record and metadata. |
onSave | Receive a snapshot without requiring the form to be valid. |
onSnapshotChange | Observe seed and user-change snapshots. |
mode | Start in edit or readonly mode. |
Host integration
onRequestCloseenables the root cancel action and receives{ reason: "cancel" }after any required discard confirmation.headerAccessoryrenders application content immediately below the built-in header.showHeaderhides the built-in header when the host owns surrounding navigation and actions.primaryActionMode,primaryActionLabel, andshowPrimaryActionsInViewModecustomize the built-in primary action.onSchemaReadyreceives the prepared schema after stable keys have been ensured.engineOptionssupplies Core helpers, security configuration, warnings, operation handling, and update observation.
Continue with Values, snapshots, and submission or Modes and navigation.
Last modified on