diff --git a/app/Filament/Resources/VehiclesResource.php b/app/Filament/Resources/VehiclesResource.php index ec321b1..24f9dcb 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::all()->pluck('bidder_assigned_number', 'idbidders')) + ->options(Bidders::orderBy('bidder_assigned_number')->all()->pluck('bidder_assigned_number', 'idbidders')) ->searchable(), TextInput::make('year') ->label('Year'),