From 892bf2b09f3f43d59feefd8dfdeba5492a217386 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Thu, 16 Mar 2023 12:39:15 -0400 Subject: [PATCH] fix money mask --- app/Filament/Resources/CheckoutResource.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Filament/Resources/CheckoutResource.php b/app/Filament/Resources/CheckoutResource.php index d3ae8c1..0283415 100644 --- a/app/Filament/Resources/CheckoutResource.php +++ b/app/Filament/Resources/CheckoutResource.php @@ -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')