Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

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

Open
soumyamishra12 opened this issue Sep 6, 2018 · 0 comments

Comments

@soumyamishra12
Copy link

soumyamishra12 commented Sep 6, 2018

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 soumyamishra12 changed the title Deleting using back space properly not working while it's a masked field like phone number Deleting using back space properly not working while it's a masked field like phone number in angular formly Sep 6, 2018
@soumyamishra12 soumyamishra12 changed the title Deleting using back space properly not working while it's a masked field like phone number in angular formly Deleting using backspace properly not working while it's a masked field like phone number in angular formly Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant