Section header action hanging

Hey everyone, Has anyone run into an issue where: You’re using a relation manager table that includes a header create action and a record action like edit. When clicking one of those actions, it correctly opens the resource form modal. Inside that form, there’s a section containing nested sections, and those nested sections have custom header actions. The problem is that when I click on one of those nested header actions, the app just hangs — it shows the loading spinner indefinitely. The expected behavior is that the action should open another modal, but instead, it just spins. I even tried removing ->modal() and simplifying the action down to a barebones version, but the behavior stayed the same. Has anyone experienced this before or know what might be causing it?
No description
No description
7 Replies
BloodDrunk
BloodDrunkOP4w ago
Code snippet
toeknee
toeknee4w ago
Iso.. interesting we are doing an ISO audit at the moment haha! If you inspect the browser what do you see in the network requests? I'm guessing your getting sa 500 error and it's being cut out
BloodDrunk
BloodDrunkOP4w ago
I get a livewire update fetch and just infinite spin, nothing not even 500 Edit: waited for server response for 2.5 minutes nothing in logs Edit: logs appear to show allocated memory exhaustion, so somewhere is infinite loop possibly filament ver is 4.0 if that helps
toeknee
toeknee4w ago
So if it's running for that long it looks like you have a loop that doesn't die, so I would debug through the action with DD() until it's no longer hit.
Dennis Koch
Dennis Koch4w ago
Make sure it's not related to some of your code and submit an issue on GitHub.
BloodDrunk
BloodDrunkOP4w ago
Guess this is my only option so far, to dd until something happens Will do, if it is filament itself I figured that if I go ahead and render section header action in the parent section component (so not on nested sections components), then the action nicely opens up a new modal. But having action directly on the nested section components and shit goes down
Dennis Koch
Dennis Koch4w ago
Yeah, sounds like a Filament error then 😅

Did you find this page helpful?