V3 clickable row at widget
I got this error after upgrading to v3
why it's expecting array
7 Replies
protected function getTableRecordUrlUsing(): Closure
{
return fn (Model $record): string => ModelResource::getUrl('edit', $record);
}
ya it's should be the same
because it appears that getTableRecordUrlUsing() is also deprecated in v3
ehmm how to override in the widget ?
found my mistake
should update to ['record' => $record]