jQuery UI Widgets › Forums › General Discussions › Editors › NumberInput › jqxNumberInput: problem with comma
This topic contains 7 replies, has 2 voices, and was last updated by gcarf 10 years, 5 months ago.
-
Author
-
when I type a comma as decimal separator nothing happens. To enter decimal values I have to type the point. I need to type the comma instead of the point.
How to do?Hi gcarf,
Here is a demo how to set decimal separator to comma.
Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comThanks, so it runs, but I would hide the spinbutton.
this code don’t run, sorry.
when I type a comma as decimal separator nothing happens.$(“#jqxNumberInput”).jqxNumberInput({
width: ‘250px’,
height: ’25px’,
theme: ‘energyblue’,
spinButtons: false,
decimalSeparator: ‘,’,
groupSeparator: ‘.’
});Hi gcarf,
This code works as expected.
You have mask and you can fill values, but you cannot change the position of the separator when you enter these values.Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comsorry, the problem is an other:
when I fill the value if I digit a dot (.) as decimal separator I’ve no problem.
when I fill the value if I digit a comma (,) as decimal separator the key is ignored.
The keybord Language is ‘it-IT’.repost the script
$(“#jqxNumberInput”).jqxNumberInput({
width: ’250px’,
height: ’25px’,
theme: ‘energyblue’,
spinButtons: false,
decimalSeparator: ‘,’,
groupSeparator: ‘.’
});<div id=’jqxNumberInput’></div>
Hi gcarf,
Unfortunately this feature is assigned to the key codes instead to the symbols assigned to them.
Also this separator is only for visual purposes.Best Regards,
Ivailo IvanovjQWidgets Team
http://www.jqwidgets.comthanks
-
AuthorPosts
You must be logged in to reply to this topic.