Quando tento seto o atributo "readonly" para um campo combobox (select) o ext não retira a trigger "onclick"
Retirado do site: http://extjs.com.br/forum/index.php/topic,2182.0.html
UTILIZE:
Ext.override(Ext.form.TriggerField, {
initTrigger : function(){
this.trigger.on("click", function(){
if (!this.disabled){
this.onTriggerClick.call(this.scope this, this);
}
}, this, {preventDefault:true});
this.trigger.addClassOnOver('x-form-trigger-over');
this.trigger.addClassOnClick('x-form-trigger-click');
}
})
0 comentários:
Postar um comentário