RelationshipManager refresh after edit

after edit null field getting error
Solution:
DEV Community
Refresh Filament Relation Manager After an Action
In my FilamentPHP project, I have an action button that creates relationships for my resource....
Jump to solution
8 Replies
bathishig
bathishigOP8mo ago
No description
bathishig
bathishigOP8mo ago
after editing null field on form getting error Typed property Filament\Resources\RelationManagers\RelationManager::$table must not be accessed before initialization Uncaught (in promise) TypeError: Cannot read properties of null (reading 'dataset') at j2 (@inertiajs_vue3.js?v=f2fbe64e:4454:101) at app.js:11:1 im doing wrong?
Solution
OzgurOzarpaci
OzgurOzarpaci8mo ago
DEV Community
Refresh Filament Relation Manager After an Action
In my FilamentPHP project, I have an action button that creates relationships for my resource....
bathishig
bathishigOP8mo ago
Method App\Filament\Resources\AppointmentResource\Pages\ViewAppointment::emit does not exist.
bathishig
bathishigOP8mo ago
No description
bathishig
bathishigOP8mo ago
im doing wrong?
Povilas K
Povilas K8mo ago
@bathishig the article by @OzgurOzarpaci is probably written for Livewire 2. In Livewire 3, they changed the syntax from emit() to dispatch(): https://livewire.laravel.com/docs/upgrading#events
Laravel
Upgrade Guide | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
OzgurOzarpaci
OzgurOzarpaci8mo ago
Yeap it's V2
Want results from more Discord servers?
Add your server