You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.
ui-mask = (123) 999-9999, where 123 is a constant prefix. If the value 123 333-3333 is pasted
then the value in the mask is displayed as (123) 123-3333. Basically 123 prefix ist duplicated.
The bug lies in the function unmaskValue(value), where the prefix 123 is not considered during the unmasking.
Any chance that this could be fixed ?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Pasting a value does not work if there is a "constant" in the placeholder. If using https://htmlpreview.github.io/?https://github.com/angular-ui/ui-mask/master/demo/index.html:
For example:
ui-mask = (123) 999-9999, where 123 is a constant prefix. If the value 123 333-3333 is pasted
then the value in the mask is displayed as (123) 123-3333. Basically 123 prefix ist duplicated.
The bug lies in the function unmaskValue(value), where the prefix 123 is not considered during the unmasking.
Any chance that this could be fixed ?
The text was updated successfully, but these errors were encountered: