jQWidgets Forums

jQuery UI Widgets Forums Editors NumberInput Decimal separator

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Decimal separator #17308

    Staale Eikebraaten
    Participant

    We have som issues with our NumberInputs

    Our NumberInput is like this:
    $(“#newHours”).jqxNumberInput({ width: ‘150px’, height: ’25px’, digits: 4, min: 0, decimalDigits: 2, decimalSeparator: “,”, groupSeparator: ” “, inputMode: ‘simple’ });

    The problem is that to access typing decimals, we still have to press the ‘.’ (dot) and not the ‘,’ (comma) as defined in the widget.
    In Norway default decimalseparator is ‘,’ (comma).

    Is this something that will be fixed in the future ?

    -=Staale=-

    Decimal separator #17316

    Peter Stoev
    Keymaster

    Hi Staale Eikebraaten,

    The widget internally checks only whether the ‘.'(dot) key is pressed to move the caret to the decimal position. If the ‘decimalSeparator’ is ‘,’ the widget will move the caret to the decimal position, too. Please, check whether you use jQWidgets 2.7.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.