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 · 722 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, 13 hours ago
0 30 13 hours ago
Forms & Blueprints · by FrViPofm, 3 weeks ago
5 276 3 weeks ago
Forms & Blueprints · by Ton Haarmans, 6 years ago
13 2267 8 months ago
Forms & Blueprints · by Hugo Oliveira, 9 months ago
0 733 9 months ago
Forms & Blueprints · by Flachy Joe, 10 months ago
9 812 10 months ago