Groups are a great way to clean up the editing interface, especially when a model has a large number of fields.
Default Field Group
Every field is part of the Content field group by default, and the tabs are only shown if there is an additional group defined.
Fields that are to remain in the Content group do not need to be extended. You only have to configure those which you wish to move into a custom group.
Customizing Field Groups
Field groups get adding by extending a model with the fieldGroups
property, and then specifying the group
for the appropriate field.
Using Icons
There is a select set of icons available to use for each tab in the group, if you choose. This list is available in our component library.
Example: Adding Styles Group
Here's an example that adds a styles
field group to a hero
model, and then places a bgColor
field within that group.
1
2
3
4
5
6
7
8
9
10
11
12
The result would show Content and Styles tabs, similar to the image at the top of this document.