category edit
This commit is contained in:
parent
2192f9de7c
commit
cef7923531
@ -15,7 +15,7 @@ use Illuminate\Database\Eloquent\SoftDeletingScope;
|
|||||||
use Filament\Tables\Columns\BooleanColumn;
|
use Filament\Tables\Columns\BooleanColumn;
|
||||||
use Filament\Tables\Columns\TextColumn;
|
use Filament\Tables\Columns\TextColumn;
|
||||||
use Filament\Forms\Components\TextInput;
|
use Filament\Forms\Components\TextInput;
|
||||||
use Filament\Forms\Components\Checkbox;
|
use Filament\Forms\Components\Toggle;
|
||||||
|
|
||||||
|
|
||||||
class CarShowCategoryResource extends Resource
|
class CarShowCategoryResource extends Resource
|
||||||
@ -29,7 +29,7 @@ class CarShowCategoryResource extends Resource
|
|||||||
return $form
|
return $form
|
||||||
->schema([
|
->schema([
|
||||||
TextInput::make('category_name'),
|
TextInput::make('category_name'),
|
||||||
Checkbox::make('vehicle_category')->inline()
|
Toggle::make('vehicle_category'),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user