ngx-mask
ngx-mask copied to clipboard
When using empty mask the cursor moves to the start of a textbox on focus
Examples that cause the issue:
<input value="these" mask="">
<input value="cause" [mask]="">
<input value="the" [mask]="null">
<input value="issue" [mask]="myEmptyProperty">
Issue tested on 8.2.0.
I have a similar problem
Same for me. Any workaround?
A workaround could be to set default mask as "match any entry". I've tried this:
<input mask="A*"/>
But I cannot enter special characters nor space. Somebody knows what's the pattern for "any characters"?
@NepipenkoIgor is there currently a resolution / workaround for this behavior?
Any news here?
@mhagnumdw @tyanders1987 @fernandokenji @MannIncognito Thanks for using Ngx-mask. What do you expect to see when you use an empty mask ? And can you provide an example on stackbiltz ?
@mhagnumdw @tyanders1987 @fernandokenji @MannIncognito Close issue because there's no activity. If this problem is still relevant, please open the new issue with template and provide stackblitz.