diff --git a/app/Filament/Resources/WinningBidsResource.php b/app/Filament/Resources/WinningBidsResource.php index cea4677..20f9596 100644 --- a/app/Filament/Resources/WinningBidsResource.php +++ b/app/Filament/Resources/WinningBidsResource.php @@ -43,7 +43,15 @@ class WinningBidsResource extends Resource ->options(Bidders::all()->pluck('bidder_assigned_number', 'idbidders')) ->searchable(), TextInput::make('winning_cost') - ->label('Winning Bid'), + ->label('Winning Bid') + ->mask( + fn (TextInput\Mask $mask) => $mask->money( + prefix: '$', + thousandsSeparator: ',', + decimalPlaces: 2, + isSigned: false + ) + ), ]); }