tobiu
7 Dec 2009, 11:23 AM
hi together,
i am a bit stuck with this one. it seems like a bug, though i am not sure for total.
see this little example:
Ext.onReady(function() {
Ext.ns('app');
app.win = new Ext.Window({
width : 400
,height : 400
,items :
app.form = new Ext.form.FormPanel({
labelWidth : 175
,items : [
new Ext.form.TextField({
allowBlank : false
,fieldLabel : 'textField'
,name : 'textField'
})
,new Ext.form.NumberField({
allowBlank : false
,fieldLabel : 'numField'
,name : 'numField'
})
]
})
});
app.form.getForm().reset();
app.win.show();
});
created with ff3 and ext-3.0.3
when calling form.reset(), the text-field keeps clean, the numberField does not. i watched quite a long time into the code, but have not found any difference yet to older and working versions of the bib (it at least worked in ext-3.rc2...).
thanks for your help,
tobiu
i am a bit stuck with this one. it seems like a bug, though i am not sure for total.
see this little example:
Ext.onReady(function() {
Ext.ns('app');
app.win = new Ext.Window({
width : 400
,height : 400
,items :
app.form = new Ext.form.FormPanel({
labelWidth : 175
,items : [
new Ext.form.TextField({
allowBlank : false
,fieldLabel : 'textField'
,name : 'textField'
})
,new Ext.form.NumberField({
allowBlank : false
,fieldLabel : 'numField'
,name : 'numField'
})
]
})
});
app.form.getForm().reset();
app.win.show();
});
created with ff3 and ext-3.0.3
when calling form.reset(), the text-field keeps clean, the numberField does not. i watched quite a long time into the code, but have not found any difference yet to older and working versions of the bib (it at least worked in ext-3.rc2...).
thanks for your help,
tobiu