Blueprint field snippets and headlines

I would like to use the new blueprint field snippets and it works (Yay!), but not if I add the snippet after a headline section.

This works:

in blueprints/fields/hero.php

label: Hero title
type: text

in blueprints/home.php

title: Home
pages: false
fields:
  hero: hero

But if I change home.php to the following nothing shows in the panel.

title: Home
pages: false
fields:
  herosection:
    label: Hero
    type: headline
  hero: hero

Does anyone have an idea what I am doing wrong?

Is your indentation correct?

Oops. No. But it is now. And it’s working too.
Thanks :slight_smile: