Closed Majkie closed 2 years ago
Hi, this is actually intended behaviour, a UX thing. It just allows people to access the records easier if they don't want to move their mouse to the Edit button. You can disable this behaviour for the entire table by using this code on the List page:
protected function getTableRecordUrlUsing(): ?Closure
{
return null;
}
Package
filament/tables
Package Version
v2.5.20
Laravel Version
v8.75.0
Livewire Version
v2.8.2
PHP Version
PHP 8.1
Bug description
In
cell.blade.php
else if on$url
is always true, becauseCanOpenUrl
trait returns either defined url or record url so all columns are by default currently clickable with redirect to resource edit.For now it can be resolved like this. Although it would be better to fix this so others don't have to look for solution. Sadly I don't have time to make this simple PR, so thanks for resolving this.
Steps to reproduce
Create simple TextColumn.
Relevant log output
No response