Emit Livewire event from a Header Action #15236
Unanswered
fcontreras
asked this question in
Help
Replies: 1 comment
-
use Filament\Resources\RelationManagers\RelationManager;
->after(function (RelationManager $livewire) {
$livewire->emit('createTable');
}), |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Form builder
Package Version
3.0.0
How can we help you?
I have this create button that I want to emit from, after the record creation is done
This is from a RelationManager
And the code goes like this
But I'm getting
Method App\Filament\Admin\Resources\LayoutResource\RelationManagers\TablesRelationManager::emit does not exist.
Any ideas? Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions