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 · 822 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 MarkP, 2 weeks ago
3 193 2 weeks ago
Themes & Styling · by TomW, 2 weeks ago
0 111 2 weeks ago
Themes & Styling · by themetman, 3 weeks ago
1 206 3 weeks ago
Themes & Styling · by AH, 1 month ago
1 324 3 weeks ago
Themes & Styling · by Bruno, 4 years ago
6 1523 3 weeks ago