I’m using NumberInput widget with negative numbers and I found out inconsistency between the value I get with .val() function and the one of valueChanged event object.
Moreover, if I try to insert a negative number starting from the minus sign the value is NaN in both cases.
Removing the ‘decimalSeparator’ setting solves both problems.
Thanks for the feedback. We tested the fiddle and the problem was occurred only in the combination between simple mode and decimalSeparator settings.
So you can use the decimal separator in the default inputMode.
We have the same problem, should it be solved meanwhile (with input mode “simple mode”)?
It’s not possible to change the inputMode in our system. Changing the inputMode cannot be a solution, it’s just a workaround.