hi Supriya
Move the onAfterRendering method out like this.
combo.onAfterRendering: function() {
if (sap.ui.commons.ComboBox.prototype.onAfterRendering) {
// have to call control's onAfterRendering method if there is one.
sap.ui.commons.ComboBox.prototype.onAfterRendering.apply(this);
}
console.log('onBeforeRendering:: function()');
};
-D