F
Filamentβ€’12mo ago
Travis

Bug in extraModalFooterActions arguments

I am using extraModalFooterActions for a couple of actions to "clear" some data. Here's an example of the code in question:
->extraModalFooterActions(fn (Action $action): array => [
$action->makeModalSubmitAction('clearData', arguments: ['clear' => true]),
])
->extraModalFooterActions(fn (Action $action): array => [
$action->makeModalSubmitAction('clearData', arguments: ['clear' => true]),
])
When I click on the extra "clear data" modal footer action button, the specified action callable is called, but the $arguments argument is an empty array. I have been fighting this for a while today and finally downgraded from v3.1.17 => v3.0.95, just randomly picking a version more than two weeks old, which was when it was last working. I will try to narrow this down and mabye create a simple repo to link to that demonstrates the problem, but it will have to be tomorrow at the earliest. Still, I wanted to post this to get the word out....hoping someone might have more time/energy and possibly help. I'll try to follow up tomorrow with some more info.
1 Reply
Travis
TravisOPβ€’12mo ago
Well, I'm not sure what's happened, but this problem seems to have gone away. Not sure if it was due to an update in the last several days. I'm not going to worry about it, though. πŸ˜…
Want results from more Discord servers?
Add your server