jQuery UI Widgets › Forums › Editors › NumberInput › jqxNumberInput – val() in combination with decimalSeparator Comma Error
Tagged: Number Input, number text box
This topic contains 4 replies, has 2 voices, and was last updated by admin 2 years, 5 months ago.
Using jqxNumberInput with [decimalSeparator]=”‘,'” and then assign a decimal value with jqxNumberInput.val(3.21) or so, causes a NaN – error.
This seems to be a bug.
Any advice? Thank you
Thank you for the feedback. Have you tried this with the latest jQWidgets version, too?
Yes it is still existing with 10.0.2. However, we now use getDecimal and setDecimal instead. Only the documentation is not really telling, what this functions do.
setDecimal and getDecimal set or get a number in the input. Then the number input automatically formats it, when setDecimal is used. getDecimal returns a number value.
You must be logged in to reply to this topic.