winning bid mask

This commit is contained in:
Russ Long 2023-03-16 13:15:28 -04:00
parent 24841b3b98
commit 082c110616

View File

@ -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
)
),
]);
}