Reorderable Table not working
I followed https://filamentphp.com/docs/3.x/tables/advanced#reordering-records but it seems adding
->reorderable('sort')
alone doesn't work.. you need to add ->authorizeReorder()
in order for the sort button to show which is not stated in the docs..6 Replies
I don't use
->authorizeReorder()
at all and it works fine.
can you try on a fresh new resource' table
And do you have any kind of Permissions/Roles system in the laravel project that may cause such issues?My guess is something is missing in a policy. The reason for that method not being in the docs would be that it is an internal method and not meant to be used unless it is necessary for particular use cases.
im using Shield plugin..
isn't that enough to add on the docs?
I lean towards no because it’s laravel specific and not filament specific.
oh i see..
Like should next provide documentation for react specifics. There is a level of understanding of the underlying framework that is expected knowledge.