On edit details screen the values are not been set
Livewire Entangle Error: Livewire property 'doctor.department_id' cannot be found
in my mount()
$this->departmentForm->fill(['doctor' => [
'department_id' => $this->doctor->department_id
]]);
6 Replies
Can you share your properties of that page
Is your form state path configured properly
wow thanks
so ->statePath($this->doctor)
is this correct?
i don't have a statePath currently using it with livewire not filament panel
I think statePath('doctor')
So I would do
public array $doctor =[]
in your livewire component
and then use state path 'doctor'
and remove the doctor.*
from inputsthanks