Possible livewire/filament bug in ->recordUrl() at table

According to the documentation user gets redirected upon clicking a row

However, I get redirected as soon as I load the page, without clicking anything.

Same thing happens when it's just for one column

class Dashboard extends Page implements HasForms, HasTable
{
    use InteractsWithTable;
    use InteractsWithForms;

    public function table(Table $table): Table
    {
        return $table
            ->query(Test::query())
            ->deferLoading()
            ->striped()
            ->columns([
                TextColumn::make('id'),
                TextColumn::make('x')
                    ->url("www.youtube.com", true),
                TextColumn::make('y'),
            ])
            ->filters([
                // ...
            ])
            ->actions([
                // ...
            ])
            ->bulkActions([
                // ...
            ])
            ->recordUrl(
                fn (Model $record): string => dd($record),
            );
    }
    protected static ?string $navigationIcon = 'heroicon-o-document-text';

    protected static string $view = 'filament.pages.dashboard';

    protected function getHeaderActions(): array
    {
        return [
            Action::make('Update')
                ->requiresConfirmation()
                ->color('info')
                ->action(function () {
                    //...
                })
        ];
    }
    //...
}
image.png
Was this page helpful?