Skip to content
Grav 2.0 is officially stable. Read the announcement →
Themes & Styling

Fieldset items ordering

Started by Matt 8 years ago · 0 replies · 618 views
8 years ago

I created fieldset to create list in my page. I want to sort items with simpy drag&drop. I can see handlers on the left but it doesn't work. How can I order items by drag&drop method? Below is my code

YAML
            header.fieldsetFirst:
          type: fieldset
          title: First tramp items
          collapsed: true
          collapsible: true
          fields:
            header.custom.firstTrampItems:
              name: firstTrampItems
              type: list
              style: vertical
              label: First Tramp items
              fields:
                .item:
                  type: text
                  label: Item

Przechwytywanie|438x500

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by stuart young, 2 weeks ago
3 251 2 weeks ago
Themes & Styling · by Sebadamus, 3 weeks ago
5 317 3 weeks ago
Themes & Styling · by martynfoster735, 4 weeks ago
1 310 4 weeks ago
Themes & Styling · by Justin Young, 1 month ago
1 348 1 month ago
Themes & Styling · by Slebeig, 2 months ago
4 474 2 months ago