sap.m.ComboBox - jQuery(...).control is not a function
OpenUI5 version: 1.65.1
Browser/version (+device/version): Chrome v74.0.3729.169 (64-bit)
Any other tested browsers/devices(OK/FAIL): Firefox Quantum v67.0.2 (64-bit)
Steps to reproduce the problem:
- I'm using ComboBox like in example on website https://sapui5.hana.ondemand.com/#/entity/sap.m.ComboBox/sample/sap.m.sample.ComboBox/code
<ComboBox
id="idComboBoxState"
items="{decisionModel>/decisionStates}"
change="onChangeState"
placeholder="{i18n>selectState}"
width="100%"
textAlign="End">
<core:Item text="{decisionModel>text}" key="{decisionModel>key}"/>
</ComboBox>
- When I select the combo item from app, and I get error message:
ComboBox-dbg.js:1310 Uncaught TypeError: jQuery(...).control is not a function at f.k._handleItemTap (ComboBox-dbg.js:1310) at c (Element-dbg.js:248) at f.b._handleEvent (Element-dbg.js:261) at constructor.U._handleEvent (UIArea-dbg.js:921) at HTMLDivElement.dispatch (jquery-dbg.js:4737) at g (jquery-mobile-custom-dbg.js:1881) at HTMLDivElement.r (jquery-mobile-custom-dbg.js:2000) at HTMLDivElement.dispatch (jquery-dbg.js:4737) at HTMLDivElement.c3.handle (jquery-dbg.js:4549) at Object.trigger (jquery-dbg.js:7819)
Any other information? (attach screenshot if possible)

What kind of runtime are you using when the issue occurs? A self-contained build for your app or the cloud version of openui5?
I'm using self-contained build, not cloud.
Hello @FilipMucka,
Since the issue is not reproducible in the mention sample: https://sapui5.hana.ondemand.com/#/entity/sap.m.ComboBox/sample/sap.m.sample.ComboBox/code In order to support you, could you please provide us with an isolated example where the issue could be reproduced? You could use JSBin for that purpose: https://jsbin.com/?js,output
Regards, Niya
Since 549f08ff1df8a4b10ccfb29d72b1b12e283af0d0, sap.m.ComboBox indeed uses sap/ui/dom/jquery/control without declaring a dependency to it. However, UIArea also depends on it and there shouldn't be a path where a control is rendered without a UIArea.
I wonder a bit about the stack trace. The last line Object.trigger() sounds a bit as if this happens in a test case? Is that true? If so, how is the view rendered then? Anything special?
Since there is no response from the author for more than 4 weeks I'm closing the ticket.