mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
fix: Table column record injection
This commit is contained in:
@@ -188,4 +188,14 @@ class Column extends ViewComponent
|
||||
|
||||
<?php return new HtmlString(ob_get_clean());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function getExtraViewData(): array
|
||||
{
|
||||
return [
|
||||
'record' => $this->getRecord(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user