I'm trying to create an accordion type object within the Bard field. My initial idea was to use a replicator field to create nested accordion items, but it doesn't seem to be possible.

Any ideas for how to go about this?

Here's my current model:

      long_form:
        type: bard
        display: Long Form Content
        container: posts
        sets:
          image:
            display: Image
            fields:
              photo:
                display: Photo
                type: assets
                max_files: 1
              size:
                type: radio
                default: Normal
                options:
                  - Inline
                  - Full Width
          pullquote:
            display: Pull Quote
            fields:
              quote_text:
                type: markdown
                display: Quote Text
              quote_attribution:
                type: text
                display: Quote Attribution
                width: 50
              quote_attr_title:
                type: text
                display: Quote Attribution Title
                width: 50
          accordion:
            display: Accordion
            type: replicator
            sets:
              accordion_item:
                display: Accordion Item
                fields:
                  text:
                    display: Test
                    type: markdown
Answered by Jason Varga! Go to answer.