I have the same issue with the link below. The solution is stated in the link.
https://stackoverflow.com/questions/42120888/react-controlled-number-input-jumps-when-deleting-decimal-point
I need help on how to implement the solution for this. I am using this mask in mobile. Thank you
Jan,
If you go to your plugin module, in the extensibility configurations, you can set the target version...
Like this:
Check only if the version is available in the github if you are using github.
And also try to update the component from forge first, maybe there is a version that this problem were already corrected.
Cheers and Regards,
RR :)
Raphael Ranieri wrote:
Hi,
This component it's not exactly a plugin, so I don't think this solution apply.
Anyway, I'm having this exact same issue.
When I use it for the currency mask, as it is below (img), what happens is that when you delete the point and / or the number 1 (e.g. 1.234,00), what happens is that the cursor changes to the number 4.
Thanks in advance for any help.
Hi Nivaldo,
Sorry!! You are right.
I saw the link from stack overflow Jan sent and thought it was a mobile plugin.
This is a Reactive Web App...in this case all you have to do is change the JS code...
Check in the github that it was based if there is any update: https://github.com/RobinHerbots/Inputmask
The version that the plugin is based is 5.0.3
If you are getting a hard time finding the files from github that were used in the component they are here, it is from the latest stable versions... 5.0.5
Just don't change the InputMaskAuxFuncitons files, since they are some custom functions for what I saw
Let me know if it helped. :)Cheers
Guys,
Just did the change and attached the .oml, this one is targeting the last version of plugin, see if it helps somehow...
Unfortunately I don't think it will solve the problem.
Reading with more time now, I realized that in the link Jan sent, the problem was in the version of the React itself and not in the plugin version...
I'm really sorry I should have read more calmly.
Jan Patricia Espina wrote:
Hi Jan,
I had/have the same problem and the "workaround" to solve it was to put a space " " (not "" but " ") in the PrefixText of the MaskCurrency.
Hope this solves your problem too.
Regards,