I am using this code but it is not giving me the result
sap.m.Input.prototype.onAfterRendering = function(e){
this.setEnabled(false);
};
I am using this code but it is not giving me the result
sap.m.Input.prototype.onAfterRendering = function(e){
this.setEnabled(false);
};
Option 1: Setting enabled for every instance of your input control in onAfterRendering
Option 2 : Using a view model