Custom Filter on text field widget doesn’t work

Widgets & Design

i am trying to put a custom filter on a text field (to use as Mobile number field ), but when i try to put a regex , in test mode it doesnt let me enter any input at all . i want the text field filter to be like, first digit should be any number from 5-9 and latter 9 digits to be any numbers. I do not want a validation , i want to block the user from entering the wrong input .

What have you tried so far?

I've tried many custom regex but none seem to work . please help me out on this . Thank you in advance

Did you check FlutterFlow's Documentation for this topic?
Yes
6
9 replies