Home Forums Feature Requests Repeater fields as a grid (columns)


Repeater fields as a grid (columns)

  • It would be good UX to be able to stack the repeater fields horizontally, for instance for making heroes or columns.

    There is a rather messy hack around but as the repeater fields are a table rather than div it doesn’t work very well.

    It would look good in the back end.

  • Care to share the “messy hack”?

  • The repeater rows are a table with each iteration being a row <tr>. Essentially it’s to put in some custom CSS that treats a tr as inline-block – which is horrible but works in some browsers.
    Probably best to include the field class (the field ID) so you don’t get unintended consequences.

    As my original post suggests I would like more control over repeater fields layout in admin but rewriting the core code for divs rather than tables seems like it may be quite a lot of work.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Repeater fields as a grid (columns)’ is closed to new replies.