NULL values when submitting form from Livewire Component

I am trying to use Filament on a public page using a Livewire Component.

If I am using the ->statePath('data'); it doesn't return data from all the form components, but if I use specific properties it returns the data.

What am I doing wrong? Why doesn't the form connect properly with the $data array?
Screenshot_2024-05-08_at_17.18.37.png
Screenshot_2024-05-08_at_17.19.20.png
Screenshot_2024-05-08_at_17.23.17.png
Solution
Did you add $this->form->fill() in the mount method?

public function mount(): void
{
    $this->form->fill();
}
Was this page helpful?