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 →

How to nest data in forms?

admin form

Started by ontime 8 years ago · 0 replies · 846 views
8 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 Anna, 2 days ago
2 51 15 hours ago
Forms & Blueprints · by Anna, 3 days ago
7 81 15 hours ago
Forms & Blueprints · by Anna, 1 week ago
5 185 6 days ago
Forms & Blueprints · by TomW, 1 month ago
3 377 1 month ago
Forms & Blueprints · by Japhy, 2 months ago
2 593 2 months ago