If I click the textbox that comes with the file field and move the mouse away, onblur event is fired. How do i ensure the blur event is still fired when i click on the browse button and move the cursor away, without clicking the filefield textbox? my code snippet is below:
{
xtype: 'filefield',
emptyText: 'Select file... (pdf, word, excel)',
id: 'offer_file',
name: 'offer_file',
width: 400,
buttonText: '',
allowBlank: false,
margins: '0 0 5 5',
buttonConfig: {
iconCls: 'upload-icon'
},
listeners: {
blur: function(obj) {
console.log('Filefield Blurred');
}
}
}