74
Views
1
Comments
[Input Masks Library] Cursor Position when Delete
Question
input-masks-mobile
Reactive icon
Forge asset 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?

2023-08-03 12-58-34
Abdiel Alvin

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 '.')

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.