New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag and Drop of Bard sets within Replicator doesn't work #1723

Closed
aerni90 opened this Issue Jan 16, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@aerni90

aerni90 commented Jan 16, 2018

Actual behaviour

When trying to move a set within Bard, it actually moves the whole Replicator field, instead of the Bard set. Watch video of issue.

Steps to reproduce

  1. Create a Replicator field with a set of Bard
  2. Create a set within Bard
  3. Try to move the Bard set in the Control Panel.

Fieldset

title: Builder
hide: true
fields:
  builder:
    type: replicator
    display: Page Builder
    instructions: Build this page with the components provided below.
    sets:
      hero:
        display: Hero
        fields:
          hero_images:
            type: assets
            display: Hero Image / Slider
            instructions: Choose a hero image. Add multiple images to create a hero slider. No image will result in a white hero.
            container: images
            folder: /
          hero_title:
            type: text
            display: Hero Title
            instructions: Write a title for this page.
          hero_lead:
            type: text
            display: Hero Lead
            instructions: Write a lead for this page.
      content:
        display: Content
        fields:
          content:
            type: bard
            display: Content
            instructions: Write the content of this post entry. Add Images and other components as needed.
            buttons:
              - bold
              - italic
              - anchor
              - h3
            sets:
              download:
                display: Download
                fields:
                  download:
                    type: assets
                    display: Download
                    instructions: Choose a file for the user to download.
                    container: documents
                    folder: /
                    max_files: 1
              forms:
                display: Forms
                fields:
                  forms:
                    type: select
                    display: Forms
                    instructions: Select the form of your choice.
                    options:
                      contact: Contact
                      newsletter: Newsletter
                      rooms: Room Reservation
              image-slider:
                display: Image / Slider
                fields:
                  images:
                    type: assets
                    display:  Image / Slider
                    instructions: Choose more than one image to create a slider.
                    container: images
                    folder: /
              link:
                display: Link
                fields:
                  link_title:
                    type: text
                    display: Link Title
                    instructions: Enter the title for this link.
                  link_url:
                    type: text
                    display: Link URL
                    instructions: Enter the URL for this link.
              title-lead:
                display: Title / Lead
                fields:
                  section_title:
                    type: text
                    display: Title
                  section_lead:
                    type: text
                    display: Lead

Operating System: macOS 10.12.6
Web Server: Laravel Valet
PHP Version: 7.1
Statamic Version: 2.8.1

@jasonvarga

This comment has been minimized.

Member

jasonvarga commented Jan 22, 2018

I believe this is fixed in 2.8.3. Please reopen if you find that's not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment