F
Filament5mo 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
Haydra5mo ago
did you try ? $table->recordAction(null)
nazar
nazarOP5mo ago
i try it not work
CodeWithDennis
CodeWithDennis5mo 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
Firebat5mo 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
Haydra5mo ago
for this i think you should use recordUrl
Firebat
Firebat5mo ago
Yeah i tried, but it was easier to just ViewAction->visible(auth->user()->can()) It is jank, but it works
Haydra
Haydra5mo ago
that's how it's done
nazar
nazarOP5mo ago
i want in globally config
CodeWithDennis
CodeWithDennis5mo ago
Like i said, it could be a bug.

Did you find this page helpful?