Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Fieldset items ordering

Started by Matt 9 years ago · 0 replies · 786 views
9 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 themetman, 6 days ago
1 104 3 days ago
Themes & Styling · by AH, 3 weeks ago
1 224 3 days ago
Themes & Styling · by Bruno, 4 years ago
6 1388 3 days ago
Themes & Styling · by TomW, 3 weeks ago
2 227 5 days ago
Themes & Styling · by FrViPofm, 2 months ago
4 687 2 months ago