Adding suffix to numeric masque causing cursor to jump before
See original GitHub issueI extended numeric mask by adding a suffix and it causes the cursor to jump before when a space is added :
You can see here that at 4 the cursor goes back and messes up the number.
What I want : 1 234 567 890
what I get : 1 245 678 904
This is my extend
Inputmask.extendAliases({
'numeric-fr': {
alias: "numeric",
suffix: "$"
}
});
You can test it here for yourself http://codepen.io/stephendesjardins/pen/mRQwev
Using version : 3.3.5-33
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Wrong cursor placement with numeric mask and suffix - GitLab
When using numeric extensions with alias: numeric and suffix option, cursor gets placed in the wrong position on subsequent input focusing.
Read more >Place cursor at the end of text in EditText - java - Stack Overflow
Try this: UPDATE: Kotlin: editText.setSelection(editText.length())//placing cursor at the end of the text. Java: editText.
Read more >IBM Informix Messages and Corrections
Its filename would begin with the first few letters of table-name, followed by a 3-digit number and the suffix .dat, or .idx. With...
Read more >Form Input | Components - BootstrapVue
Create various type inputs such as: text, password, number, url, email, ... v-model modifiers .number and .trim can cause unexpected cursor jumps when...
Read more >Customizing Fields on Record Forms
A keyboard accelerator can be added to a field by placing a “&” before the letter in the Screen Label. For example, "&Location"...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It makes the Mask behave like on Android. So I need to fix this. But the option is a dev option.
Amazing, your dedication to this project is inspiring! thank you so much!!