问题描述
我目前在使用<br>
时出现错误,并带有建议项
当我点击建议列表时:
控制器
sap.m.Input
视图
ch: function() {
var filters = [];
var TBLot = sap.ui.getCore().byId("idTableLot");
var item = sap.ui.getCore().byId("prd").getSelectedKey();
var filterL = new Filter("DCI",FilterOperator.EQ,item.toupperCase());
var filterWhs = new Filter("Magasin",GlobalWarehouse);
filters.push(filterL);
filters.push(filterWhs);
// ...
},
解决方法
您必须使用旧版本的UI5。方法getSelectedKey
在1.44中引入。要查看应用运行的UI5版本,请按 Ctrl + Shift + 左Alt + P 。 / p>