PDA

View Full Version : [OPEN-1085]Ext.ux.form.SpinnerField -> disable / enable



tobiu
29 Jun 2010, 5:54 AM
hi team,

here is the fix:



onDisable: function(){
Ext.ux.form.SpinnerField.superclass.onDisable.call(this);
this.spinner.disabled = true;
},

onEnable: function(){
Ext.ux.form.SpinnerField.superclass.onEnable.call(this);
this.spinner.disabled = false;
}


without it, you can disable the field and afterwars still use the spinner.


kind regards
tobiu