Hybrid View

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    134
    Vote Rating
    1
    stefankendall is an unknown quantity at this point

      0  

    Default [PR3] Numberfields with a value attribute config always return their initial value

    [PR3] Numberfields with a value attribute config always return their initial value


    When I give a numberfield a value initializer, calling Ext.getCmp('myid').getValue() always returns the configured initializer.

    I have this:
    Code:
    {
                xtype:'formpanel',
                items:[
                    {
                        xtype:'fieldset',
                          defaults:{
                            labelWidth:'35%',
                        },
                        items:[
                            {
                                id:'myId',
                                xtype:'numberfield',
                                name:'something',
                                label:'something'
                                value:200
                            }]
                    }]
    }
    getValue() is always returning 200. If I remove the value:200 config, I start getting the actual value of the input this component is controlling

  2. #2
    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


    This is a known bug. Thanks.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

Thread Participants: 1

Tags for this Thread

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