Support

Account

Home Forums Gutenberg Example preview of repeater

Helping

Example preview of repeater

  • Hi!
    I have repeater list with text fields list-text
    How to fill-in example for repeater in block.json?

    I tried these variants:

      "example": {
        "attributes": {
          "data": {
            "list": [
              [
                ["list-text", "Element 1"]
              ],
              [
                ["list-text", "Element 2"]
              ],
              [
                ["list-text", "Element 3"]
              ]
            ]
          }
        }
      }
      "example": {
        "attributes": {
          "data": {
            "list": [
              {
                "list-text": "Element 1"
              },
              {
                "list-text": "Element 2"
              },
              {
                "list-text": "Element 3"
              }
            ]
          }
        }
      }

    But it doesn’t work.

  • Answer from support:

    Thanks for reaching out to us, I trust you are keeping safe!

    Unfortunately, the ACF plugin doesn’t support this functionality out of the box. Achieving that setup would require some extensive customisation that falls outside the scope of support we are able to provide.

    However, I would recommend checking out Stack Overflow or the ACF forum for any discussions that might help with your implementation.

    If you need a quicker solution, we’ve partnered with ****.
    I hope this info helps and wish you all the very best with your project.

    If you need further assistance with ACF-related functionality, feel free to let us know. We’re happy to help!

    Kind Regards,

    Chris

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

You must be logged in to reply to this topic.