Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1279 in a recent build.
  1. #1
    Sencha User jzabiello's Avatar
    Join Date
    Aug 2011
    Posts
    1
    Vote Rating
    0
    jzabiello is on a distinguished road

      0  

    Exclamation [PR3] using getValue and setValue attributes raise exception in Ext.field.Spinner

    [PR3] using getValue and setValue attributes raise exception in Ext.field.Spinner


    I use Sencha Touch 2.0.0 Preview Release 3 and I found something is wrong with examples and with the API.


    First, Ext.Field.Spinner example at http://docs.sencha.com/touch/2-0/#!/....field.Spinner is using:


    new Ext.field.Spinner({
    minValue: 0,
    maxValue: 100,
    incrementValue: 2,
    cycle: true
    });


    There is no incrementValue, it should be increment instead.


    Second, minValue and maxValue also seem to be wrong. But that is the weird part because according to src/field/Spinner.js those names are correct...


    To replicate the error I got please open an change examples/forms/src/index.js file from:


    xtype:'spinnerfield',
    name:'spinner',
    label:'Spinner'


    to:


    xtype:'spinnerfield',
    name:'spinner',
    label:'Spinner',
    minValue: 0


    It will generate Uncaught TypeError: Property 'getMinValue' of object [object Object] is not a function at sencha-touch-all-debug-w-comments.js:58160


    The same if I use


    xtype:'spinnerfield',
    name:'spinner',
    label:'Spinner',
    maxValue: 10


    Uncaught TypeError: Property 'getMaxValue' of object [object Object] is not a function at sencha-touch-all-debug-w-comments.js:58161


    What is wrong?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thank you for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    All of the listed issues have been fixed for the next release.

    Sencha Inc

    Jamie Avins

    @jamieavins

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