From 44fffdcc9716ddc7154fcf3f594479664194aef0 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Thu, 16 Mar 2023 13:44:06 -0400 Subject: [PATCH] bidder phn num --- app/Filament/Resources/BiddersResource.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/BiddersResource.php b/app/Filament/Resources/BiddersResource.php index addc966..953d5c3 100644 --- a/app/Filament/Resources/BiddersResource.php +++ b/app/Filament/Resources/BiddersResource.php @@ -35,7 +35,8 @@ class BiddersResource extends Resource TextInput::make('bidder_city')->label('City'), TextInput::make('bidder_state')->label('State'), TextInput::make('bidder_zip')->label('Zip'), - TextInput::make('bidder_phone')->label('Phone Number')->tel(), + TextInput::make('bidder_phone')->label('Phone Number') + ->mask(fn (TextInput\Mask $mask) => $mask->pattern('+{7}(000)000-00-00')), TextInput::make('bidder_email')->label('Email'), TextInput::make('bidder_assigned_number')->label('Assigned Number'), ]);