jQWidgets Forums

jQuery UI Widgets Forums Editors NumberInput May be BUG for Separator

This topic contains 3 replies, has 3 voices, and was last updated by  Peter Stoev 13 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • May be BUG for Separator #3668

    goksel
    Member

    Hi Peter,

    I’m not sure, but this is bug.

    This code;

    $(“#defaultOfficalWage”).jqxNumberInput({ width: ‘250px’, height: ’25px’, symbol: ”, min:0, decimalSeparator: “,”, groupSeparator: “.”, theme: theme, spinButtons: false });

    decimalSeparator : “,”
    groupSeparator : “.”

    Both the writing, with both spin button does not work correctly. I could not find where is the problem.

    May be BUG for Separator #3670

    Peter Stoev
    Keymaster

    Hi goksel,

    The ‘decimalSeparator’ currently can be only ‘.’. The editor does not work with other symbols which is not a correct behavior. This will be resolved in the next release as the users should be able to set this property to any symbol.

    Thanks for the feedback.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    May be BUG for Separator #3921

    nicolapippo
    Participant

    Hi,
    I have a problem.
    I’m using

    decimalSeparator : “,”
    groupSeparator: “.”

    when I insert the value from the keyboard everything is ok but
    If I set the value of the input with “.jqxNumberInput(‘val’, 561.23);” the result in the input is “561,00” or
    If I set the value of the input with “.jqxNumberInput(‘val’, ‘561.23’);” the result in the input is “5.61.,00”

    There is another way to set values ​​with the decimal separator “,” or this is a bug?

    Thanks

    May be BUG for Separator #3922

    Peter Stoev
    Keymaster

    Hi nicolapippo,

    I confirm the reported behavior with the API and created a new work item regarding it. As a workaround, when you input a value from the API, you can set the value to the input at first(decimalSeparator = ‘.’, groupSeparator = ‘,’) and then set its decimalSeparator to ‘,’ and groupSeparator to ‘.’.

    Hope this helps.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.