Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Fieldset items ordering

Started by Matt 8 years ago · 0 replies · 666 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, 1 month ago
3 441 1 month ago
Themes & Styling · by Sebadamus, 2 months ago
5 457 1 month ago
Themes & Styling · by martynfoster735, 2 months ago
1 442 2 months ago
Themes & Styling · by Justin Young, 2 months ago
1 467 2 months ago
Themes & Styling · by Slebeig, 3 months ago
4 594 3 months ago