PDA

View Full Version : [FIXED] Ext.form.Panel.reset() does not reset hidden fields



aflx
6 Dec 2011, 2:49 AM
Today I figured out, that the reset function in PR2 of a hidden field is an empty function (Ext.emptyFn).
Is this a bug or a feature? /:)

Bye,
Alex

mitchellsimoens
6 Dec 2011, 8:39 AM
This is due to the reset method coming from Ext.field.Text but Ext.field.Hidden extends from Ext.field.Field so therefore does not get the reset method.

With that said, Ext.field.Hidden should have a reset method so I am opening a ticket.

aflx
6 Dec 2011, 8:43 AM
Great! Thank you :)