Dynamic mask in textfield input?

Hello guys. I needed to create a phone number textfield, and I wanted it to work this way:

  • There will be a country select input where the user select his country

  • When selected, the dial code of the user is automatically filled, and the mask of the phone input is changed according to the country selected

The problem I'm facing is that the flutterflow mask option inside the textfield widget is not possible to input via variable, only with fixed text. Why's that?

Is there any workaround? I really would like to use the buit in flutterflow component, that's the only thing preventing me from doing so

5
4 replies