MaskFormatter icon indicating copy to clipboard operation
MaskFormatter copied to clipboard

Add support for hardcoded, unmodifable portions of patten

Open MarcinOrlowski opened this issue 9 years ago • 1 comments

Would be great if I could define some portions of pattern unalterable for user. For example I'd like user to enter his mobile phone number but I'd also like to restrict the country, i.e. +48 for Poland. For now I need to move +48 out of the pattern, to separate TextView, but if I'd just do i.e.

 [+48] 999 9999999

and the text in [] would be shown but be unalterable/non-erasable by user, it'd be great. When user finishes I'd like get it all back, incl. +48 part.

MarcinOrlowski avatar May 10 '16 22:05 MarcinOrlowski

+1

Can't figure "9 (999) 999 99 99" pattern too.

ibrahimyilmaz7 avatar Dec 26 '16 00:12 ibrahimyilmaz7