F
Filament2mo 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
Haydra2mo ago
did you try ? $table->recordAction(null)
nazar
nazarOP2mo ago
i try it not work
CodeWithDennis
CodeWithDennis2mo 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
Firebat2mo 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
Haydra2mo ago
for this i think you should use recordUrl
Firebat
Firebat2mo ago
Yeah i tried, but it was easier to just ViewAction->visible(auth->user()->can()) It is jank, but it works
Haydra
Haydra2mo ago
that's how it's done
nazar
nazarOP2mo ago
i want in globally config
CodeWithDennis
CodeWithDennis2mo ago
Like i said, it could be a bug.
Want results from more Discord servers?
Add your server