Error: mountTableAction

Hello, I'm getting an error in my livewire component. I've created a listing through this: https://filamentphp.com/docs/2.x/tables/getting-started#preparing-your-livewire-component Now, I wanted to add an edit, delete button to make a process. My code is attached here. The component is used in a filament resource for a tab section for the module.
Filament
Getting started - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
3 Replies
Kuldeep
KuldeepOP2y ago
On clicking both icons: edit, delete I'm getting error like this: https://flareapp.io/share/yPaAO9GP I wanted to call a listener method: add_update_modal_show, delete_modal_show for edit and delete process.
Flare
Unable to call component method. Public method [mountTableAction] not found on component: [app.filament.resources.properties.property-resource.pages.view-property] - The error occurred at http://localhost:7403/properties/view/1
wyChoong
wyChoong2y ago
do you need form in this page? how does your page looks like
Kuldeep
KuldeepOP2y ago
For Ex. 1 - ProductResource that is having multiple types (Product data, images, attributes, etc.) of data with tab structure. 2 - ViewProduct resource has tabs and all the tabs are designed through the livewire component in the listing and display formats. Yes, I need a form in the page. I've resolved this issue with the two separate components. 1 - Listing component 2 - Create/Update/Delete component Now, facing an issue is that while create/update/delete listing refresh is not working properly. Data is updated but it'll reflect once I'll try with create/edit/delete action 2nd time Any idea why this is happening?
Want results from more Discord servers?
Add your server