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
When using the 'select' mode for the restrict option, the expected behavior when inputting an invalid character is that it should be highlighted that way the next character input replaces it. When an ng-mask element with this option is used within a transclude block, the 'select' mode does not work as expected and it instead works like the 'accept' option.
I have created a codepen to demonstrate this behavior. The mask is set as "99-99-99". Here are the steps to reproduce within the codepen:
When using the 'select' mode for the restrict option, the expected behavior when inputting an invalid character is that it should be highlighted that way the next character input replaces it. When an ng-mask element with this option is used within a transclude block, the 'select' mode does not work as expected and it instead works like the 'accept' option.
I have created a codepen to demonstrate this behavior. The mask is set as "99-99-99". Here are the steps to reproduce within the codepen:
These two inputs should behave the same, but for some reason the second input behaves differently since it is inside a transclude block.
The text was updated successfully, but these errors were encountered: