1

If I type 12345 and set the cursor between 3 and 4 and start typing this will overwrite the 4 and 5. What I want is to be able to eg. add 77 inbetween and the output will be: 123 774 5. Is there any way I can do this?

My code is essentially just:

<MaskedTextField
    label="With input mask"
    mask="999 999 999"
    maskChar=""
/>

Codesandbox: https://codesandbox.io/s/keen-sunset-khegc?file=/src/App.js

milmal
  • 526
  • 1
  • 9
  • 15

0 Answers0