How to validate a Mask TextInput?
Currently using this:
What I want is that if I hit submit, the error should display "The phone number is not valid. Please enter a valid phone number".
4 Replies
I would look up custom fail logic in the validation section of the Filament form’s documentation. I think it’s near the end of that section.
Did you manage to solve it?
I'm not sure why you were angry about my response to this.
You may use the following for this. Maybe this would help you more.
Do you want to be my best friend, just kidding, thank you very much