Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

How to nest data in forms?

admin form

Started by ontime 7 years ago · 0 replies · 745 views
7 years ago

I would like to nest some data like this:

YAML
fields:

    header.title:
        type: text
        label: Title
        style: vertical
        autofocus: true
        validate:
            required: true

    header.place.address.street:
        label: Address - street
        type: text

    header.place.address.country:
        label: Address - country
        type: text

It does not work, but is it somehow possible?

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Japhy, 2 weeks ago
2 286 5 days ago
Forms & Blueprints · by FrViPofm, 4 weeks ago
5 337 4 weeks ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2329 8 months ago
Forms & Blueprints · by Hugo Oliveira, 9 months ago
0 788 9 months ago
Forms & Blueprints · by Flachy Joe, 10 months ago
9 876 10 months ago