wip methods
This commit is contained in:
1 parent
de41dd5187
commit
2ca6d0c48d
6 files changed
+30
-33
No files matched your search
@@ -6,7 +6,6 @@ use Filament\Actions\EditAction;
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Support\HtmlString;
|
||||
|
||||
class MethodesTable
|
||||
{
|
||||
@@ -14,13 +13,15 @@ class MethodesTable
|
||||
{
|
||||
return $table
|
||||
->paginated(false)
|
||||
->defaultSort('order', direction: 'asc')
|
||||
->columns([
|
||||
TextColumn::make('id'),
|
||||
TextColumn::make('name')
|
||||
->color(fn($record) => $record->color)
|
||||
->weight(FontWeight::Bold)
|
||||
->wrap()
|
||||
->description(function ($record) {
|
||||
return new HtmlString($record->description);
|
||||
return $record->description;
|
||||
}),
|
||||
])
|
||||
->recordActions([
|
||||
|
||||
Reference in new issue
Block a user