I am trying to get supplierid to populate the udfchar01 with the description.
Here is the code I am using.
Ext.define('EAM.custom.external_SSREQU', {
extend : 'EAM.custom.AbstractExtensibleFramework',
getSelectors : function () {
var me = this;
return {
'[extensibleFramework] [tabName=HDR][isTabView=true] [name=supplierid]' : {
before_eam_customonblur : function (field, lastValues) {
if (field.getValue() !== lastValues[field.name]) {
var vFormPanel = EAM.Utils.getCurrentTab().getFormPanel();
console.log('before_eam_customonblur');
vFormPanel.setFldValue('udfchar01', field.description, true);
}
}
}
}
}
});