Expand description
This module allows to quickly create a form based on provided model.
The model needs to implement converting to FormData and from FormExport, then it can be passed directly to Form component.
See story book for examples.
Structs§
- Controls
Config - Data
Field - A single field in form section.
- Data
Section - A section of form with label and a field (or field set).
- Field
- Form
- Renders a form for provided FormData that upon “Save” allows to grab updated fields from FormExport.
- Form
Data - Used to define structure of a Form.
- Form
Export - After form is submitted, it generates an export from every field. This can be used to construct a new model.
- Form
Params - Image
Value - Model
Form - Renders a form for provided model, that upon “Save” allows to update a model with new values.
- Text
Area Value - __
Form Component - __
Model Form Component
Enums§
- Data
Field Value - Value of a field in form section.
- Field
Export - Fieldset
Style - Presets for rendering fields in a field set.
- Operation