Looks like we can't reproduce the issue or there's a problem in the test case provided.
-
Sencha User
[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
-
Sencha User
This is a known bug. Thanks.