How to get rid of some character in input when Masking?

There is "(" in the textbox.
->mask(fn (TextInput\Mask $mask) => $mask->pattern('(000) 000-0000'))
->mask(fn (TextInput\Mask $mask) => $mask->pattern('(000) 000-0000'))
5 Replies
LeandroFerreira
->default('') ?
vahnmarty
vahnmartyOP2y ago
Did not work. the parenthesis is still there.
LeandroFerreira
Are you using on the resource? Create page, edit?
vahnmarty
vahnmartyOP2y ago
No, custom form.
LeandroFerreira
Filament
Getting started - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.
Want results from more Discord servers?
Add your server