[Input Masks Library] Cursor Position when Delete

Forge Component
Published on 2019-10-02 by Labs
10 votes
Published on 2019-10-02 by Labs

So I got input field with input mask, when i delete the 1 character in that data, the cursor will move to the end of the input.  How can I keep the position of the cursor there (not moving to the end of the input) everytime i delete a character from the data?

For more detail, it happen when :
1. first time backspace pressed
2. when the number to be delete (with backspace) is in front of separator (ie : when delete 1 from 1.000.000, since 1 is in front of '.')