© 2026 Hedgehog Software, LLC

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

Passing and Calling an Action from a Parent Livewire Component to a Child Component

I have a Livewire parent component with a delete action defined as
$this->deleteAction
$this->deleteAction
. I want to pass this action to a child component and call it from the child component's Blade file. Is it possible

<div>
@foreach ($posts as $post)
<h2>{{ $post->title }}</h2>


@endforeach
{{ ($this->deleteAction) }}
<livewire:child-component />
<x-filament-actions::modals />
</div>

I tried using {{ $parent->deleteAction }} from child component blade.. but not working. is there any way i can access from child component blade view.
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

Calling Action Modal from parent livewire component
FilamentFFilament / ❓┊help
3y ago
Adding an action to a Livewire component
FilamentFFilament / ❓┊help
3y ago
Calling livewire component from xdata
FilamentFFilament / ❓┊help
17mo ago
How to passing value from a stateUpdated to Livewire component
FilamentFFilament / ❓┊help
2y ago