SapUI5- ComboBox items binding with template, throws exception
<p>I encounter an problem when trying to bind items of to a <code>sap.ui.ComboBox</code> (<a href="https://sapui5.netweaver.ondemand.com/sdk/#docs/api/symbols/sap.ui.commons.ComboBox.html" rel="nofollow">https://sapui5.netweaver.ondemand.com/sdk/#docs/api/symbols/sap.ui.commons.ComboBox.html</a>) component.</p>

<p>At the moment, the process of binding items on the ComboBox component it's done like follows:</p>

<pre><code>var itemTemplate = new sap.ui.core.ListItem();      //  creating a ListItem object                  
itemTemplate .bindProperty("text", ".........");   //  bind for the "text" property a certain path from the model



var comboBox = new sap.ui.commons.ComboBox({});    // create the ComboBox
comboBox .bindItems("........",itemTemplate);     // bind the items from a certain path, and provide as a template for the list the previously created one
</code></pre>

<p>Everything works as expected, except the fact that the following exception it's logged on the console:
"<strong><em>A shared template must be marked with templateShareable:true in the binding info -</em></strong>  "</p>

<p>While this seems suggestive, I still was not able to find when during binding should the "<code>templateShareable</code>" property set to "<code>true</code>". </p>

<p>Did anyone else encountered this issue? Am I doing something wrong when binding the items of a combobox?</p>

<p>Thanks</p>