jQWidgets Forums

jQuery UI Widgets Forums Editors NumberInput Double minus sign

Tagged: 

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Double minus sign #30808

    Yuri Antipin
    Participant

    Hi! Double minus sign appears when overriding decimalSeparator in jqxNumberInput control. Negative numbers are not displayed correctly.
    My example is here:

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8" />
    <title> </title>
    <link rel="stylesheet" href="styles/jqx.base.css"/>
    <script type="text/javascript" src="scripts/jquery-1.10.2.min.js"> </script>
    <script type="text/javascript" src="scripts/jqx-all.js"> </script>
    <script type="text/javascript">
    $(document).ready(function () {
    $('#numeric').jqxNumberInput({
    height: '20px',
    width: '100px',
    inputMode: 'simple',
    decimalSeparator: ',',
    groupSeparator: ' '
    });
    $('#numeric').jqxNumberInput('setDecimal', -1);
    });
    </script>
    </head>
    <body>
    <div id="numeric"></div>
    </body>
    </html>
    Double minus sign #30810

    Peter Stoev
    Keymaster

    Hi Yuri Antipin,

    Thank you for the feedback. The issue would be resolved in the next release.

    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.