Threaded View
-
13 Dec 2011 5:46 PM #1
[PR3] IDs not being set on numberfield fields?
[PR3] IDs not being set on numberfield fields?
It looks like IDs aren't being set on form elements that specify an ID.
This:
produces this in the DOM:Code:{ xtype:'fieldset', defaults:{ labelWidth:'35%', listeners:{ change:myChangeEvent } }, items:[ { id:'myId', xtype:'numberfield', name:'myMax', label:'MyLabel', // disabled:true, disabledCls:'disabledVisible' } ] } }
Ext.getCmp('myId') seems to return an element, but Ext.getCmp('myId').getValue() only returns the initial value of the numberfield.Code:<input class="x-input-el x-form-field x-input-number" type="number" id="ext-element-290" name="myMax">
Somehow the DOM and the ext element are de-synced.
Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.


Reply With Quote