Show more didn't expand column, it redirect to view page instead in table view if limit list exceed
Package
filament/tables
Package Version
v3
Laravel Version
v10
Livewire Version
v3
PHP Version
PHP 8
Problem description
Show more didn't expand column, it redirect to view page instead in table view if limit list exceed.
Expected behavior
It must only expand column not redirect to any page without any URL provided.the
Steps to reproduce
TextColumn::make('title') ->badge() ->listWithLineBreaks() ->limitList(2) ->expandableLimitedList(),
Reproduction repository (issue will be closed if this is not valid)
https://github.com/shreejanpandit/doctor_appointment_filament
Relevant log output
No response
I also faced this issue and found a workaround that resolved it. Here’s what I did:
TextColumn::make('tags')
->url('#') // or ->url('javascript:void(0)')
->listWithLineBreaks()
->limitList(3)
->expandableLimitedList()
Had the same issue .. it happens when the table action gets wrapped around the column. Then the alpine component with "isLimited" is no longer working.
i solved it similar to asmit's suggestion:
$table->recordAction(null)
Fixed by #16068