Svet
Update a form field when a notification is received from Edit page
I still feel like I'm missing something. In Livewire, if I just update the property, it reactively changes on the frontend. Since Filament is built on top of Livewire, shouldn't that be a supported functionality? Or do we need to do it this way because of all the hooks and events?
I can't even seem to find a way to bind a form field to a model property, i.e.
wire:model
or something similar. Apologies if my questions sound dumb, I'm trying to better understand how it all works under the hood.7 replies
Update a form field when a notification is received from Edit page
Yup, they both work, thank you Leonardo! Do they both go through all the events and handlers, etc? Because that was my concern with
$this->form->getLivewire()->data['script'] = 'blah'
, i.e. changing the data directly and not through a method that fires any events if needed.7 replies