F
Filament4mo ago
nazar

disable recordUrl

how global config in provider prevent table click row i try this Table::configureUsing(function (Table $table): void { $table ->paginationPageOptions([5,10,15,25]) ->recordUrl(false) ->striped(); }); but not work and it work in table resource
9 Replies
Haydra
Haydra4mo ago
did you try ? $table->recordAction(null)
nazar
nazarOP4mo ago
i try it not work
CodeWithDennis
CodeWithDennis4mo ago
Seems like its not working globally, but it is working on the resource table itself 🤔 This could be a bug, but im not 100% sure.
Firebat
Firebat4mo ago
Just to add to the thread, im trying to use recordAction too but im passing 'edit' and dosen't change the behavior for some odd reason
Haydra
Haydra4mo ago
for this i think you should use recordUrl
Firebat
Firebat4mo ago
Yeah i tried, but it was easier to just ViewAction->visible(auth->user()->can()) It is jank, but it works
Haydra
Haydra4mo ago
that's how it's done
nazar
nazarOP4mo ago
i want in globally config
CodeWithDennis
CodeWithDennis4mo ago
Like i said, it could be a bug.

Did you find this page helpful?