Skip to Content
avatar image
Former Member

sap.m.SelectDialog ​Cannot read property 'destroy' of undefined

I use sap.m.SelectDialog. When I try search a number. I have a problem with display list. I just get list about 15-20 items and wait. I attached scrin.

If I search a string it is work.

Cannot read property 'destroy' of undefined 1.44.10 (built at 201703142144, last change ) sap.m.SelectDialog

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 11, 2017 at 09:00 AM

    share you search function or dialog related code.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member
       			var sValue = oEvent.getParameter("value");
       			var oBinding = oEvent.getSource().getBinding("items");
       			var oFilter = new Filter("Fictr", sap.ui.model.FilterOperator.Contains, sValue);
      //If did not find any items, use search at another field.
       			if (oBinding.getContexts().length < 1) {
       				oFilter = new Filter("Bezeich", sap.ui.model.FilterOperator.Contains, sValue);