schema([ TextInput::make('category_name'), Toggle::make('vehicle_type')->inline(false) ]); } public static function table(Table $table): Table { return $table ->columns([ TextColumn::make('category_name')->sortable(), BooleanColumn::make('vehicle_type')->sortable(), ]) ->filters([ // ]) ->actions([ Tables\Actions\EditAction::make(), ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), ]); } public static function getRelations(): array { return [ RelationManagers\VehicleRelationManager::class, ]; } public static function getPages(): array { return [ 'index' => Pages\ListCarShowCategories::route('/'), 'create' => Pages\CreateCarShowCategory::route('/create'), 'edit' => Pages\EditCarShowCategory::route('/{record}/edit'), ]; } }