Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1225 in a recent build.
  1. #1
    Ext JS Premium Member
    Join Date
    Sep 2008
    Location
    Raleigh, NC
    Posts
    145
    Vote Rating
    5
    qooleot is on a distinguished road

      0  

    Default PR3 spinnerfield minValue bug

    PR3 spinnerfield minValue bug


    In 2.x PR3:

    If I remove minValue and maxValue, it works. Otherwise I get "Uncaught TypeError: Property 'getMinValue' of object [object Object] is not a function"

    Code:
    {
          xtype: 'spinnerfield',
          name: 'year',
          minValue: 1970,
          maxValue: 2020,
          incrementValue: 1,
          label: 'Year'
    }
    Thanks.

  2. #2
    Sencha User kostysh's Avatar
    Join Date
    Nov 2011
    Location
    Odessa, Ukraine
    Posts
    173
    Vote Rating
    19
    kostysh will become famous soon enough kostysh will become famous soon enough

      0  

    Default


    confirm this.
    a similar problem with numberfield

  3. #3
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    Thanks for the report.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  4. #4
    Sencha User
    Join Date
    Oct 2011
    Posts
    1
    Vote Rating
    0
    jynxdaddy is on a distinguished road

      0  

    Default


    I have a temporary fix, works in my app.

    Code:
    Ext.field.Spinner.override({    
      applyValue: function(value) {
            value = parseFloat(value);
            if (isNaN(value)) {
                value = this.getDefaultValue();
            }
    
    
            //round the value to 1 decimal
            value = Math.round(value * 10) / 10;
    
    
    
    
            var minValue = this.config.minValue,
                maxValue = this.config.maxValue;
            //from Ext.field.Number.applyValue
            if (Ext.isNumber(minValue)) {
                value = Math.max(value, minValue);
            }
    
    
            if (Ext.isNumber(maxValue)) {
                value = Math.min(value, maxValue);
            }
    
    
            return parseFloat(value);
      }
    });

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi