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'), ]); }