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

How to nest data in forms?

admin form

Started by ontime 7 years ago · 0 replies · 684 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 Ton Haarmans, 6 years ago
13 2071 7 months ago
Forms & Blueprints · by Hugo Oliveira, 8 months ago
0 574 8 months ago
Forms & Blueprints · by Flachy Joe, 9 months ago
9 664 9 months ago
Forms & Blueprints · by Augustus, 9 months ago
7 715 9 months ago
Forms & Blueprints · by Julien, 10 months ago
10 700 10 months ago