How come state breaks infolist

<x-filament-panels::page>
{{ $this->infolist }}
<x-filament-panels::form wire:submit="save">
{{ $this->form }}
<x-filament-panels::form.actions
:actions="$this->getCachedFormActions()"
:full-width="$this->hasFullWidthFormActions()"
/>
</x-filament-panels::form>
</x-filament-panels::page>

When save is clicked the following funciton runs.

public function save(): void
{

try {

$data = $this->form->getState(); // this breaks the info list. My infolist has nothing to do with $this-form.

$this->handleRecordUpdate($this->record, $data);

} catch (Halt $exception) {
return;
}

$this->getSavedNotification()->send();
}


How can I save it without getState triggering a reload of my infolist ?
Was this page helpful?