Skip to content

Nested Replicator Fields Stuck Loading #7

@AaronAtkinson

Description

@AaronAtkinson

When a replicator field is placed inside a collapse field, the replicator contents fail to load when the collapse field is expanded.

I believe this is the same as the grid behavior pointed out in issue #1

The set up in the provided image is a single default collapse field, containing a single default replicator, containing a single default input field (by default field I mean, no changes were made after adding the field).

(EDIT: This is a really nice add-on. The fact that you built and shared it is greatly appreciated!)

Here is the yaml file for the blueprint in the screenshot:

tabs:
  main:
    display: Main
    sections:
      -
        display: 'Collapse Replicator Test'
        fields:
          -
            handle: collapse_field
            field:
              fields:
                -
                  handle: replicator_field
                  field:
                    collapse: false
                    previews: true
                    fullscreen: true
                    sets:
                      new_set_group:
                        display: 'New Set Group'
                        instructions: null
                        icon: null
                        sets:
                          new_set:
                            display: 'New Set'
                            instructions: null
                            icon: null
                            fields:
                              -
                                handle: text_field
                                field:
                                  input_type: text
                                  antlers: false
                                  type: text
                                  display: 'Text Field'
                                  listable: hidden
                                  instructions_position: above
                                  visibility: visible
                                  replicator_preview: true
                                  hide_display: false
                    type: replicator
                    display: 'Replicator Field'
                    listable: hidden
                    instructions_position: above
                    visibility: visible
                    replicator_preview: true
                    hide_display: false
              type: collapse
              display: 'Collapse Field'
              listable: hidden
              instructions_position: above
              visibility: visible
              replicator_preview: true
              hide_display: false
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions