You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of using the maskText method, use the initialText parameter of the MaskTextInputFormatter constructor.
The maskText method can be used if you need to format text in isolation from text fields.
I updated the text directly in the empty controller and when I edited it in onChanged it returned the empty text instead of the one I inserted:
I managed to make it work only when I forced the Mask's formatEditUpdate:
Could you fix it, so I don't have to force formatEditUpdate?
The text was updated successfully, but these errors were encountered: