UNPKG

jqwidgets-scripts-custom

Version:

jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.

22 lines (21 loc) 1.38 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title id="Description"> ReactJS Number Input demo. In this jqxNumberInput demo the input is restricted from 0 to 1000. When the user enters a value which is not from 0 to 1000, the jqxNumberInput automatically updates the value to 0 or 1000 depending on the whether the value is below 0 or above 1000. That happens on blur event. </title> <link rel="stylesheet" href="../../../jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="../../../scripts/demos.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxnumberinput.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxbuttons.js"></script> </head> <body> <div class="example-description" style="margin-bottom: 3em"> ReactJS Number Input demo. In this jqxNumberInput demo the input is restricted from 0 to 1000. When the user enters a value which is not from 0 to 1000, the jqxNumberInput automatically updates the value to 0 or 1000 depending on the whether the value is below 0 or above 1000. That happens on blur event. </div> <div id="app"></div> <script src="../build/numberinput_validation.bundle.js"></script> </body> </html>