Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: MOTION-157

...

You can configure field types in a YAML definition file inside a light module folder.

info.magnolia.ui.form.field.factory.TextFieldFactory
Localtab Group
Localtab
activetrue
titleFile
Code Block
languagejs
title<my-module>/fieldTypes/<field name>.yaml
definitionClass: info.magnolia.ui.form.field.definition.TextFieldDefinition
factoryClass: 
info.magnolia.ui.form.field.factory.TextFieldFactory
Localtab
titleTree
Advanced Tables - Table Plus
heading0
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse
Node nameValue

Mgnl f
modules

Mgnl f
ui-framework

 

Mgnl f
fieldTypes

Mgnl n
text

Mgnl p
definitionClass           

info.magnolia.ui.form.field.definition.TextFieldDefinition

Mgnl p
factoryClass

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.

...