fix money mask

This commit is contained in:
Russ Long 2023-03-16 12:39:15 -04:00
parent f4255621fe
commit 892bf2b09f

View File

@ -43,10 +43,10 @@ class CheckoutResource extends Resource
->label('Total Amount') ->label('Total Amount')
->mask( ->mask(
fn (TextInput\Mask $mask) => $mask->money( fn (TextInput\Mask $mask) => $mask->money(
prefix: '$'; prefix: '$',
thousandsSeparator: ','; thousandsSeparator: ',',
decimalPlaces: 2; decimalPlaces: 2,
isSigned: false; isSigned: false
) )
), ),
Select::make('payment_method') Select::make('payment_method')