© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
Shaung Bhone

Livewire component event

In the Laravel Livewire boot camp, when creating chirps, the author dispatches an event! In my code, should I need to dispatch an event?
public function create(): void
{
    abort_if(auth()->guest(), Response::HTTP_FORBIDDEN);

    $resume = Auth::user()
        ->resume()
        ->create($this->form->getState());

    $this->form->model($resume)->saveRelationships();

    $this->redirect('/resume');
}
public function create(): void
{
    abort_if(auth()->guest(), Response::HTTP_FORBIDDEN);

    $resume = Auth::user()
        ->resume()
        ->create($this->form->getState());

    $this->form->model($resume)->saveRelationships();

    $this->redirect('/resume');
}
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

livewire component with event in form
FilamentFFilament / ❓┊help
16mo ago
Livewire component removed on notificationClosed event
FilamentFFilament / ❓┊help
2y ago
livewire component
FilamentFFilament / ❓┊help
4mo ago
Livewire custom component - Livewire Sortable
FilamentFFilament / ❓┊help
3y ago