-
6 Dec 2011 2:49 AM #1
Ext.form.Panel.reset() does not reset hidden fields
Ext.form.Panel.reset() does not reset hidden fields
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
-
6 Dec 2011 8:39 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
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.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
6 Dec 2011 8:43 AM #3
Great! Thank you

Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-1186
in
2.0.


Reply With Quote