diff --git a/app/Filament/Resources/VehiclesResource.php b/app/Filament/Resources/VehiclesResource.php index 24f9dcb..44d6cb8 100644 --- a/app/Filament/Resources/VehiclesResource.php +++ b/app/Filament/Resources/VehiclesResource.php @@ -34,7 +34,7 @@ class VehiclesResource extends Resource ->schema([ Select::make('owner') ->label('Owner') - ->options(Bidders::orderBy('bidder_assigned_number')->all()->pluck('bidder_assigned_number', 'idbidders')) + ->options(Bidders::orderBy('bidder_assigned_number')->pluck('bidder_assigned_number', 'idbidders')) ->searchable(), TextInput::make('year') ->label('Year'),