From 2192f9de7cf306b5dd41b87919e601cb649bf5fa Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sat, 6 Aug 2022 16:16:32 -0400 Subject: [PATCH] category resource form setup --- app/Filament/Resources/CarShowCategoryResource.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/CarShowCategoryResource.php b/app/Filament/Resources/CarShowCategoryResource.php index ccb87d2..6a6fcf9 100644 --- a/app/Filament/Resources/CarShowCategoryResource.php +++ b/app/Filament/Resources/CarShowCategoryResource.php @@ -14,6 +14,9 @@ use Illuminate\Database\Eloquent\Builder; 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; + class CarShowCategoryResource extends Resource { @@ -25,7 +28,8 @@ class CarShowCategoryResource extends Resource { return $form ->schema([ - // + TextInput::make('category_name'), + Checkbox::make('vehicle_category')->inline() ]); }