Hi,
I don’t get the data from a nested structure field.
This is the saved data:
----
Detailinfos:
-
istreet: Musterstraße
ihousenumber: 4
izip: 42283
icity: Musterstadt
idomain: https://www.foobar.de
cpersoninfos:
-
cpersontitle: ""
cpersonname: Max
cpersonsurname: Muster
cpersonphone: +49(0)030 589 523
cpersonmail: max.mustermann@foobar.de
----
I try to get these data with $accordeon->cpersoninfos()->toStructure();
the Detailinfos I get without problems with $accordeon->detailinfos()->toStructure();
.
It looks that I have a empty array in between.
This is I what I get dumped with $accordeon->cpersoninfos()->toStructure()
:
^ Kirby\Cms\Structure {#888 ▼
+data: []
#caseSensitive: false
#pagination: null
#parent: Kirby\Cms\Page {#379 ▶}
}
Cheers