FormConfig
data class FormConfig(val mode: Mode = Mode.fill, val license: String? = null, val events: FormEvents = FormEvents(), val display: DisplayConfig = DisplayConfig(), val pages: PageConfig = PageConfig(), val functions: ResolutionResourceBuilder.() -> Unit? = null, val validateSchema: Boolean = true)
Single configuration object for a document's editor and its rendering.
Grouped so consumers can build, store, and swap whole presets instead of passing long parameter lists. Lives in the editor module (not compose) so the joyfill.editors.document.DocumentEditor can expose it via editor.config.
Constructors
Link copied to clipboard
constructor(mode: Mode = Mode.fill, license: String? = null, events: FormEvents = FormEvents(), display: DisplayConfig = DisplayConfig(), pages: PageConfig = PageConfig(), functions: ResolutionResourceBuilder.() -> Unit? = null, validateSchema: Boolean = true)
Properties
Link copied to clipboard
What renders and how.
Link copied to clipboard
Field/page event handlers.
Link copied to clipboard
Optional Wisdom functions available to formulas during evaluation.
Link copied to clipboard
Page-navigation capabilities.
Link copied to clipboard
When true, validates the document schema on editor construction.