Passenger
Passenger
FFilament
Created by Passenger on 1/14/2024 in #❓┊help
Calling `callMountedFormComponentAction` with arguments does not not pass it into the
To give a bit of context. I have an Action class that opens a Modal. (This Action class is being used in the hintActions of a repeater field) I render a custom livewire component inside the action's modal by doing modalContent(fn ($record) => new HtmlString(Blade::render("@livewire('custom-component')"))) Inside the Livewire custom-component, i'm able to call $wire.$parent.callMountedFormComponentAction({param: [1,2,3]}) And this calls the mountedAction like i expected ->action(function (Set $set, $component, $arguments) However the injected $arguments is always an empty array. I expected the array to contain an element with key param like ['param' => [1,2,3]] Any hint as to what i might be doing wrong.
12 replies
FFilament
Created by Passenger on 8/8/2023 in #❓┊help
Is it possible to prevent a modal from closing when the escape button is pressed
When i have multiple nested modals opened. And i press escape, it closes all modals on the page.
3 replies