category edit

This commit is contained in:
Russ Long 2022-08-06 16:17:54 -04:00
parent 2192f9de7c
commit cef7923531

View File

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