Results 1 to 3 of 3

Thread: NumberField ignores spinDownEnabled and spinUpEnabled configs

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-7348 in a recent build.
  1. #1
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,017
    Vote Rating
    125
      0  

    Default NumberField ignores spinDownEnabled and spinUpEnabled configs

    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.1.2

    Browser versions tested against:
    • Chorme
    • FireFox
    • IE9

    Description:
    • NumberField ignores the spinDownEnabled and spinUpEnabled configs.

    Steps to reproduce the problem:
    • Run the sample.
    • Click the up and down spinners.

    The result that was expected:
    • They are disabled.

    The result that occurs instead:
    • They are enabled despite of the spinDownEnabled and spinUpEnabled settings.

    Test Case:

    Code:
    <html>
    <head>
        <title>NumberField spinDownEnabled</title>
    
        <link type="text/css" rel="stylesheet" href="../resources/css/ext-all.css" />
        
        <script type="text/javascript" src="../ext-all-debug.js"></script>
    
        <script type="text/javascript">
            Ext.onReady(function () {
                Ext.create("Ext.form.field.Number", {
                    renderTo: Ext.getBody(),
                    spinDownEnabled: false,
                    spinUpEnabled: false
                });
            });
        </script>
    </head>
    <body>
    
    </body>
    </html>


  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Vote Rating
    1368
      0  

    Default

    Thanks for the report.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,017
    Vote Rating
    125
      0  

    Default

    Thank you for fixing it!

    Just a thought. Should not disabled spinners look disabled?
    Object.NET
    Frameworks and Tools for .NET Developers
    --------------------------------------------------
    Ext.NET - Ext JS for ASP.NET - Examples | Twitter
    Bridge.NET - Write C#. Run JavaScript! - Live | Twitter
    --------------------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •