How can use Pattern in my TextInput?
I have an input where I want to allow the entry of a maximum of 3 numbers separated from a . basically as if it were a float but instead of a comma a dot, I was searching and in the version of Filamentphp 2 it exists this:
->mask(fn (TextInput\Mask $mask) => $mask->pattern('+{7}(000)000-00-00'))
i try to use this:
But this is not working, how can do this?
Thank you.
->mask(fn (TextInput\Mask $mask) => $mask->pattern('+{7}(000)000-00-00'))
i try to use this:
But this is not working, how can do this?
Thank you.