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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar