Skip to content

Troubleshooting ​

All my fields ended up in the last tab ​

A tab owns every field after it, up to the next Tab field or the end of the section. Add a Tabs End field after the last field that belongs in a tab. The fields after it show normally. See Tabs End.

This happens most often with imported fieldsets that contain tabs: the fieldset's last tab takes all the fields that come after the import. Add a Tabs End at the end of the fieldset (once, for every blueprint that uses it), or right after the import.

The fields after a nested row are in the wrong place ​

After a nested row, the fields belong to the last nested tab. To show them in the outer tab below the nested row, add a Tabs End (without End all) after the nested tabs' fields. To show them outside all tabs, turn on End all tab rows (including nested).

The tabs of an imported fieldset join my tab row ​

That's the default: a tab joins the current row. Start a new row, or nest the fieldset's tabs, for this import only:

yaml
- import: button
  config:
    button_tab:
      tab_new_row: true     # or tab_nested: true on each of its tabs

See Per-import overrides.

My tab doesn't show in a Grid ​

Grids in table mode can't have tabs: every field is a column. The tab columns are hidden. Set the Grid to mode: stacked to use tabs in its rows. See Grid: stacked vs table.

The entry won't save, but I don't see an error ​

Look for a red tab with a dot: the error is in a field of that tab, see Validation errors.

If no tab is red, the field is in a tab that is hidden by a condition: a second error toast names the field and the hidden tab. A tab's condition hides its fields only from view, so they're still validated. Give required fields in a conditional tab the same condition as the tab.

The tab bar shows, but the fields are in the wrong tab ​

Tabs follow the order of the fields in the blueprint. Check that each field is below the Tab it should belong to, and in the same section. Tabs never reach across sections, sets, Grid rows or Groups.

A Tabs End shows "component does not exist" ​

The Tabs End fieldtype was added in 2.1. Make sure the add-on is updated, and that the browser isn't using cached control panel assets (hard reload).

My custom CSS or JavaScript for tabs stopped working ​

2.1 renders tabs differently. The old .main-tab, .tabpanel and .super-invisible classes and the #tab-content-… panels no longer exist. Fields stay in Statamic's normal markup and are hidden in place. See Upgrading from 2.0 to 2.1.

Still stuck? ​

Open an issue on GitHub with the blueprint YAML (or the relevant part of it) and your Statamic version.

Released under the MIT License. Made with fruit by kiwikiwi