nova-flexible-content
nova-flexible-content copied to clipboard
Nested Flexible Layouts are not casted
I am trying to figure out if it's a bug or i am mistaken that nested Flexible Layouts are not casted.
i expect motto
to cast Whitecube\NovaFlexibleContent\Layouts\Layout
.
Right now i access attributes as
@foreach($section->motto as $motto)
{{ $motto->attributes->title }}
@endforeach
where i am trying to access it directly as
{{ $motto->title }}
Am i doing something wrong?