PDA

View Full Version : [OPEN] [1.1.0] Ext.form.Checkbox isDirty does not work correctly



Trixor
29 Mar 2011, 11:17 AM
Hello Team,

I've noticed that the isDirty for the Checkbox does not work correctly, because isChecked is used instead of getValue.

Here is my temporary fix.



Ext.override(Ext.form.Checkbox, {
isDirty: function() {
if (this.disabled || !this.rendered) {
return false;
}
return this.isChecked() != this.originalValue;
}
});


Thanks,
Trixor