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')
->mask(
fn (TextInput\Mask $mask) => $mask->money(
prefix: '$';
thousandsSeparator: ',';
decimalPlaces: 2;
isSigned: false;
prefix: '$',
thousandsSeparator: ',',
decimalPlaces: 2,
isSigned: false
)
),
Select::make('payment_method')