PDA

View Full Version : [B2] FieldContainer/RadioGroup is missing clearInvalid method



sebsei
10 Apr 2011, 4:02 AM
Hi

Try to add a button with the following config to the example at: http://dev.sencha.com/deploy/ext-4.0-beta2/examples/form/check-radio.html:



{
text: 'Clear invalid',
handler: function(){
fp.getForm().clearInvalid();
}
}


Pressing this button gives an error:
"Uncaught TypeError: Object [object Object] has no method 'clearInvalid'" in ext-all-debug.js:81945

Maybe the clearInvalid() method of Ext.form.BaseField should be moved to the Ext.form.Field mixin?

Thanks.

Sebastian