ngx-mask
ngx-mask copied to clipboard
Wrong position of the caret on focus event of the input field
The actualValue is not set to the current value of the input field, if the value of the input is set explicitly, e.g. => input.value = 'someValue'
This is the actualValue property of ngx-mask service

This is the actual value of input field

If this problem happens to you, trigger the input event manually.
Is there a work-around for this behavior? We have some dynamic fields, and some do not need a mask, so a blank mask causes this..
@fmdz387 @tyanders1987 Thanks for your using Ngx-Mask. Please update to latest version. It example, all work as expected - https://stackblitz.com/edit/angular-zffqbb?file=src%2Fmain.ts