1

I have a BasicTextField that using for phone number with VisualTransformation . I can format phone number with VisualTransformation like # ### ### ## ##. But how can I make a BasicTextField that hold first two characters (because in Turkey all of the mobile phone numbers start with 05) and make that caracters undeletable. In other words user can write last 8 characters own phone number. When I give default "05" to TextFieldValue , state value is overriding that default value.

emreturka
  • 846
  • 3
  • 18
  • 44

0 Answers0