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 · 551 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 Slebeig, 3 weeks ago
4 223 3 weeks ago
Themes & Styling · by Pedro M, 3 months ago
4 496 2 months ago
Themes & Styling · by Ian, 3 months ago
3 264 3 months ago
Themes & Styling · by Norbert, 2 years ago
11 650 3 months ago
Themes & Styling · by Lukáš Findeis, 3 months ago
0 203 3 months ago