category resource form setup

This commit is contained in:
Russ Long 2022-08-06 16:16:32 -04:00
parent de31581290
commit 2192f9de7c

View File

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