From cef792353116e280fb6226b2fc723049566e038f Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sat, 6 Aug 2022 16:17:54 -0400 Subject: [PATCH] category edit --- app/Filament/Resources/CarShowCategoryResource.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Filament/Resources/CarShowCategoryResource.php b/app/Filament/Resources/CarShowCategoryResource.php index 6a6fcf9..1f0788c 100644 --- a/app/Filament/Resources/CarShowCategoryResource.php +++ b/app/Filament/Resources/CarShowCategoryResource.php @@ -15,7 +15,7 @@ use Illuminate\Database\Eloquent\SoftDeletingScope; use Filament\Tables\Columns\BooleanColumn; use Filament\Tables\Columns\TextColumn; use Filament\Forms\Components\TextInput; -use Filament\Forms\Components\Checkbox; +use Filament\Forms\Components\Toggle; class CarShowCategoryResource extends Resource @@ -29,7 +29,7 @@ class CarShowCategoryResource extends Resource return $form ->schema([ TextInput::make('category_name'), - Checkbox::make('vehicle_category')->inline() + Toggle::make('vehicle_category'), ]); }