Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2878

Re: SAP UI5 Date Picker/combo box - disable editing in the control

$
0
0

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.

JS Bin - Collaborative JavaScript Debugging

Regards


Viewing all articles
Browse latest Browse all 2878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>