jQuery UI Widgets Forums Editors NumberInput Copy and Paste

This topic contains 2 replies, has 2 voices, and was last updated by  jerrygable 10 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Copy and Paste #56258

    jerrygable
    Participant

    I copied a value from one jqxnumberinput field to another and see a couple of issues. The first one is Ctrl-V doesn’t work and you have to right click and select copy. Annoying but not a deal breaker.

    The problem is when you do paste in the value it changes in the enty box but $(‘#PIAscent’).val() returns the old value.

    The only way I can get it to take effect is to enter the data in manually.

    Copy and Paste #56262

    Dimitar
    Participant

    Hello jerrygable,

    The following fiddle demonstrates that the functionality works: http://jsfiddle.net/Dimitar_jQWidgets/nsD92/. Please make sure you are using the latest version of jQWidgets (3.4.0).

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Copy and Paste #56303

    jerrygable
    Participant

    If I change it to the format I am using it doesn’t work in the fiddle. Pasting in text also causes problems

    $(“#jqxNumberInput”).jqxNumberInput({
    width: ‘100px’,
    height: ’25px’,
    min: -90.000,
    max: 90.000,
    decimal: 33.434,
    decimalDigits: 4,
    inputMode: ‘simple’,
    theme: ‘energyblue’
    });
    $(“#jqxNumberInput2”).jqxNumberInput({
    width: ‘100px’,
    height: ’25px’,
    min: -180.000,
    max: 180.000,
    decimal: -112.012,
    decimalDigits: 4,
    inputMode: ‘simple’,
    theme: ‘energyblue’
    });

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

You must be logged in to reply to this topic.