You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/3-complex-field/5-setup-methods.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,12 @@ You can use the following methods to setup and customize the complex field.
6
6
7
7
This method is identical to Container add_fields method, where `$fields` is an array of fields.
8
8
9
-
`set_layout($layout = table | list)`*Deprecated*
9
+
`set_layout($layout)`
10
10
11
11
There are two layouts available for displaying a complex field:
12
12
13
-
*`Complex_Field::LAYOUT_TABLE`*(default)* – lists groups as rows. Each field in the group is displayed in a new line with the label first and the user control after it.
14
-
*`Complex_Field::LAYOUT_LIST` – lists groups as rows and their fields as a columns.
13
+
*`grid`*(default)* – lists the complex groups as a grid. Each field in the group is displayed in a new line with the label first and the user control after it.
14
+
*`tabbed` – groups are displayed as tabs. If the group has a label, it will be displayed in the tabs navigation. The fields style is similar to the grid layout.
0 commit comments