rememberDocumentEditor
Remember a DocumentEditor for a given Document across recompositions. Uses Compose remember with inputs to recreate the editor when they change.
Parameters
Backing document for the editor.
If true, validate the document schema on construction.
Identity generator used for new items/rows.
Layout configuration affecting pages and visibility.
Optional Wisdom functions available to formulas.
Error handler for evaluation/validation failures.
Optional callback invoked for each editor change.
Remember a DocumentEditor for a JSON string input across recompositions. Parses the JSON and delegates to editorOf with the given parameters.
Parameters
String-encoded JSON for the document.
If true, validate the document schema on construction.
Identity generator used for new items/rows.
Layout configuration affecting pages and visibility.
Optional Wisdom functions available to formulas.
Error handler for evaluation/validation failures.
Optional callback invoked for each editor change.
Remember a DocumentEditor for raw JSON bytes across recompositions.
Streams the document straight from the bytes (via editorOf) without decoding them to an intermediate String, so opening a large document avoids holding a full extra copy in memory. Prefer this when the JSON comes from a file / network / bundled resource.
Parameters
UTF-8 encoded JSON for the document.
If true, validate the document schema on construction.
Identity generator used for new items/rows.
Layout configuration affecting pages and visibility.
Optional Wisdom functions available to formulas.
Error handler for evaluation/validation failures.
Optional callback invoked for each editor change.