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

Re: Uncaught ReferenceError: oComboBox1 is not defined in Combobox

$
0
0

Hi,

 

In the controller you are fetching the reference to oComboBox by its id "oComboBox" in the below line:

 

var oComboBox = this.getView().byId("oComboBox");

 

But you haven't anywhere fetched the oComboBox1 reference, directly you are calling the bindAggregation() function on the variable oComboBox1. Before calling bindAggregation() on oComboBox1 first fetch the reference using the id "oComboBox1" as below and then check if the error resolves.

 

var oComboBox1 = this.getView().byId("oComboBox1");


Regards,

Saurabh



Viewing all articles
Browse latest Browse all 8635

Trending Articles



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