Overview of the Webiny Form Model system
nextThe Form Model is a declarative form system used in the Webiny Admin UI. It allows developers to define complex forms using a fluent builder API.
Key capabilities include:
- Field Definition: Use a
fieldsregistry to create various field types (text, number, boolean, etc.). - Layout Management: Arrange fields using a layout builder (e.g.,
layout.row(),layout.tabs()). - Validation: Implement validation using Zod schemas or imperative rules.
- Advanced Logic: Support for conditional visibility, conditional disabling, computed fields, and reactive context.
- Complex Structures: Handle deeply nested objects, lists, and dynamic zones (templates).