category resource form setup
This commit is contained in:
parent
de31581290
commit
2192f9de7c
@ -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()
|
||||
]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user