jQWidgets Forums

jQuery UI Widgets Forums Editors NumberInput Bug when handling valuechanged event

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 10 years, 12 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Bug when handling valuechanged event #51789

    Yuri Antipin
    Participant

    Hi! Pressing the minus button does not raise the ‘valuechanged’ event. Because of this integration with knockout.js does not work properly.

    My example:

    <!DOCTYPE html>
    <html lang="en">
        <head>
            <meta charset="utf-8" />
            <title> </title>
            <link rel="stylesheet" href="styles/jqx.base.css"/>
    		<link rel="stylesheet" href="styles/jqx.energyblue.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 () {
    				$('#numberInput').jqxNumberInput({
    					height: 25,
    					width: 200,
    					inputMode: 'simple',
    					theme: 'energyblue'
    				});
    				$('#numberInput').on('valuechanged', function(event){
    					$('#log').append($('<p>New value: ' + event.args.value + '</p>'))
    				})
                });
            </script>
        </head>
        <body>
    		<div id="numberInput"></div>
    		<div id="log">
        </body>
    </html>
    Bug when handling valuechanged event #51839

    Dimitar
    Participant

    Hi Yuri Antipin,

    Thank you for your feedback. We confirm the reported issue. It occurs only when inputMode is set to “simple”.

    Best Regards,
    Dimitar

    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.