FormPlugin
Form allows user to input and save data.
Table of contents
Selecting form fields
Pass field names defined in blueprint to fields array.
"config": {
      "type": "PLUGINS:dm-core-plugins/form/FormInput",
      "fields": ["name", "date_of_birth", "address"]
}
Using widgets
"config": {
    "type": "PLUGINS:dm-core-plugins/form/FormInput",
    "attributes": [
        {
            "name": "date_of_birth",
            "type": "PLUGINS:dm-core-plugins/form/fields/StringField",
            "widget": "DateTimeWidget"
        }
    ],
    "fields": ["name", "date_of_birth", "address"]
}
Configuring recipe for nested objects
"config": {
    "type": "PLUGINS:dm-core-plugins/form/FormInput",
    "attributes": [
    {
        "name": "address",
        "type": "PLUGINS:dm-core-plugins/form/fields/ObjectField",
        "showInline": true,
        "uiRecipe": "Edit"
    }
    ],
    "fields": ["name", "date_of_birth", "address"]
}
Available Widgets
CheckboxWidget
TextWidget
TextareaWidget
BlueprintPickerWidget
TypeWidget
SwitchWidget
SelectWidget
NumberWidget
DateTimeWidget
DimensionalScalarWidget
EntityPickerWidget
HyperlinkWidget