diff --git a/app/Filament/Resources/WinningBidsResource.php b/app/Filament/Resources/WinningBidsResource.php index 20f9596..6ddb02c 100644 --- a/app/Filament/Resources/WinningBidsResource.php +++ b/app/Filament/Resources/WinningBidsResource.php @@ -40,7 +40,10 @@ class WinningBidsResource extends Resource ->searchable(), Select::make('winning_bidder_num') ->label('Bidder') - ->options(Bidders::all()->pluck('bidder_assigned_number', 'idbidders')) + ->options( + Bidders::orderBy('bidder_assigned_number') + ->pluck('bidder_assigned_number', 'idbidders') + )) ->searchable(), TextInput::make('winning_cost') ->label('Winning Bid')