Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix example schema

...

Code Block
{
    "label": "Custom node fields",
    "description": "Edit in conf/form_schema/admin_nodes.json",
    "component": ["confignodenode_admin"],
    "tags": ["node"],
    "schema": {
        "configuration.customerId": {
                "title": "Customer ID",
                "type": "Text"
        },
        "configuration.contact": {
                "title": "Contact Person",
                "type": "Text"
        }
    }
}

Note that each field key must have prefix 'configuration.'

Refer to the documentation on the  Form Schema page for more information on available options: field types, field order, form validation etc.