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
bathishig3mo ago
No description
bathishig
bathishig3mo 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
OzgurOzarpaci3mo 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
bathishig3mo ago
Method App\Filament\Resources\AppointmentResource\Pages\ViewAppointment::emit does not exist.
bathishig
bathishig3mo ago
No description
bathishig
bathishig3mo ago
im doing wrong?
Povilas K
Povilas K2mo 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
OzgurOzarpaci2mo ago
Yeap it's V2