ui-mask icon indicating copy to clipboard operation
ui-mask copied to clipboard

Deleting using backspace properly not working while it's a masked field like phone number in angular formly

Open soumyamishra12 opened this issue 5 years ago • 0 comments

I am trying to delete a selected text out of a masked phone number and it doesn't delete the selected text rather it deletes the the previous value.

The example is same as http://jsbin.com/hasosog/7/edit?html,css,js,output.

example is ,if (123)-456-7890 is there and you select 78 and try using back space it deletes 6 instead of 78 as the thing is being selected but the same works as expected for delete .

There is a work around for ngMask but not for ui-mask ,Please help .

soumyamishra12 avatar Sep 06 '18 11:09 soumyamishra12