...
You can configure field types in a YAML definition file inside a light module folder.
Localtab Group |
---|
Localtab |
---|
|
Code Block |
---|
language | js |
---|
title | <my-module>/fieldTypes/<field name>.yaml |
---|
|
definitionClass: info.magnolia.ui.form.field.definition.TextFieldDefinition
factoryClass: info.magnolia.ui.form.field.factory.TextFieldFactory Localtab |
---|
|
|
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
Node name | Value |
---|
| | | | | info.magnolia.ui.form.field.definition.TextFieldDefinition |
| info.magnolia.ui.form.field.factory.TextFieldFactory
Using a field in a form
Once the field is registered, add it to a dialog or form by referencing the field definition class in the class
property or by referencing the field alias name in the fieldType
property. See Field definition for more.
...