FormOptions
Global form configuration options.
Controls form-wide behavior including disabled state and button behavior configuration.
Properties
| Name | Type | Description |
|---|---|---|
| disabled | boolean | undefined | Disable the entire form. When enabled, all form fields become read-only and cannot be modified by user interaction. @value false |
| emitFormValueOnEvents | boolean | undefined | Whether to attach the current form value to all events dispatched through the EventBus. This per-form setting overrides the global
When enabled, events will include a |
Example usage | ||
| maxDerivationIterations | number | undefined | Maximum number of iterations for derivation chain processing. Derivations can trigger other derivations (e.g., A → B → C). This limit prevents infinite loops in case of circular dependencies that weren't caught at build time. Increase this value if you have legitimate deep derivation chains (more than 10 levels deep). @default 10 |
| nextButton | | Default disabled behavior for next page buttons. Controls when next page buttons are automatically disabled in paged forms. Can be overridden per-button via the |
Example usage | ||
| submitButton | | Default disabled behavior for submit buttons. Controls when submit buttons are automatically disabled. Can be overridden per-button via the |
Example usage | ||
Example usage
options: {
disabled: false,
submitButton: { disableWhenInvalid: true }
}