giro
Livewire Component on ModalContent close modal
Hi,
I have an Action that show a ModalContent wiht a view that have a livewire component, how from that livewire component can close modal. I know that I can dispatch a close-modal event but how I know modal ID?
Thanks
2 replies
After upgrade filament to 3.1.9 problems
I upgrade to filament 3.1.9 all filament packages and star have problems.
Alpine Expression Error: watch is not defined
Expression: "function(){this.$wire.$on("deselectAllTableRecords",()=>this.deselectAllRecords()),this.$watch("selectedRecords",()=>{if(!this.shouldCheckUniqueSelection){this.shouldCheckUniqueSelection=!0;return}this.selectedRecords=[...new Set(this.selectedRecords)],this.shouldCheckUniqueSelection=!1})}"
15 replies
Adding an action to a Livewire component
I try this example from documentation:
https://filamentphp.com/docs/3.x/actions/adding-an-action-to-a-livewire-component
But button not open modal windows
I put livewire component in a x-filament-panels::page
Not error from browser console, and on button push correct(200) network call, with modal html on it, but not show it.
Anybody try it?
5 replies