F
Filamentβ€’3mo ago
Helge Sverre

How to set the "primary" table action?

Is there a way to always make the "edit" action the default behaviour in a list of actions for a table, currently it seems "view" has precedence, but i see now way to change this, i assumed it was based on whichever action was placed first in the list, but this seems to not be the case.
No description
5 Replies
ModestasV
ModestasVβ€’3mo ago
It will allow you to customize the record url πŸ™‚
Helge Sverre
Helge Sverreβ€’3mo ago
i dont want to edit the record url, i want it to do one of the actions i already have pre-defined in the actions list, but mark one of them as the "when i click the row anywhere not on the action button, run this action"-action
ModestasV
ModestasVβ€’3mo ago
So that's exactly what you can do with that πŸ™‚ I'm not sure about any other way πŸ˜„
Dennis Koch
Dennis Kochβ€’3mo ago
There should be ->recordAction and you probably need to set ->recordUrl(null)
Want results from more Discord servers?
Add your server
More Posts