fix money mask
This commit is contained in:
parent
f4255621fe
commit
892bf2b09f
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user