Components need a repeater field

I was surprised that I couldn’t find any request like this on the idea board (maybe I’m totally missing it?), so I thought I’d drop this here before posting to the idea board:

Components need a “repeater” field, similar to ACF or CrocoBlock, that allows one or more fields that can be added or removed from within the Bricks editor.

It should be possible to connect the repeater to the element that should be repeated (e.g., an <li> or a <div>), and then the child properties should be connectable to elements within that element.

Example:

  1. create a component > add a repeater field > add a Text property named “Headline” and a Rich Text property named “Body” to the repeater

  2. create a div containing an H2 and a rich text element

  3. connect “Headline” to the H2 and “Body” to the rich text

Currently, a similar effect can be achieved via query loop / custom post types, but this improvement would enable developers to create components that are more user-friendly when the content doesn’t need to be dynamic, and will show instant visual feedback. It also reduces the need to switch between the Bricks editor and posts editor. Some common use cases:

  • accordions (headlines, rich text)
  • cards (headlines, rich text, buttons, etc.)
  • ordered or unordered lists (rich text)
  • pricing tables (headlines, body, features, buttons, etc…)
3 Likes

Here is the other request: Repeaters in components - #3 by usermh

1 Like

@thomas , please see this request too!

1 Like

Submitted to the idea board, will link here as soon as it’s been approved.