recordAction not executed, instead toolbarAction is executed

Hey - here's a weird one. my resource has the same 4 recordActions and toolbarActions defined. When I choose the record action on a table row the corresponding toolbar action is executed instead of the record action. I noticed this because the notifications were wrong - instead of saying: "Shop <name> was suspended" it kept saying "{count} shops were suspended". So I added a couple of ray() commands and sure enough - the recordActions are now NEVER being executed. I'm attaching a scaled-down version of the resource. I've tested with both -beta23 and -beta24
1 Reply
Tieme
Tieme2mo ago
Hi, All the actions on a page need to have a unique ID. you can do Action::make(uniqid()) to solve this problem

Did you find this page helpful?