Code A
How to Access Updated Latitude and Longitude in beforeSave in Filament?
Thanks for the reply. Latitude and longitude are updated successfully using Map::make() and afterStateUpdated. However, when I use dd() in beforeSave, the data from address, lat, and lng is not available. Any suggestions on ensuring this data is available in beforeSave?
10 replies
How to synchronize filters between Livewire components in Filament Dashboard Custome Page?
I have a situation where I have multiple Livewire Components, such as an Order component and a Driver component. When I interact with the Order component, the Driver component updates automatically. However, the AddressMapWidget does not update automatically, and I have to manually reload the page to see the changes in the AddressMapWidget. Could this be because the AddressMapWidget extends from MapWidget rather than from a Livewire Component? Is there a solution to ensure that the AddressMapWidget updates automatically when I interact with the Order component?
5 replies