Global field definitions in structure fields

It is possible to use global field definitions in structure fields?

fields:
  test:
    label: Test field
    type: structure
    entry: >
      {{demo}}
    fields:
      demo: myglobalfield

current error:

Warning: Illegal string offset ‘type’ in …/panel/structure.php on line 81

Warning: Illegal string offset ‘type’ in …/panel/structure.php on line 85

Thanks in advance for your help.

This has not been possible so far, but I just fixed it on the develop branch.

1 Like

Perfect! Thanks :smile: