jonassiewertsen / statamic-livewire

A Laravel Livewire integration for Statamics antlers engine
89 stars 16 forks source link

Page fields content is missing #65

Closed wm-simon closed 2 months ago

wm-simon commented 3 months ago

Hey, my current site has multiple page fields, which I show inside the livewire component. The component is an item filter for collection entries. When I load the site for the first time, all contents are shown correctly, but when I filter for entries, the page fields are not shown anymore.

marcorieser commented 3 months ago

@jonassiewertsen discussing that directly in discord with wm-simon.

marcorieser commented 2 months ago

The issue was, that Livewire loses context about the cascade on subsequent requests. Solved it by passing the data into livewire.