Hi,
Did you try using
(var).setEnabled(false); //true
Regards,
Madhumahesh.
Hi Kranthi,
Did you ever find a solution to this?
Cheers,
Brad
Hi Kranthi,
I had the same problem.This is how i resolved the issue.After the combobox code insert below code
comBoboxName.onAfterRendering = function() {
if (sap.m.ComboBox.prototype.onAfterRendering) {
sap.m.ComboBox.prototype.onAfterRendering.apply(this);
}
document.getElementById("<comBoboxId>-inner").disabled=true;
}
give credits if helpful.🤪
SAP UI5 combo box - disable editing in the control | sap abap | sapui5 made easy
Regards
Add a comment