cancel
Showing results for 
Search instead for 
Did you mean: 

Input Assisted Not Working As Contains

Former Member
0 Kudos

Hi, 

I need a contains filter working for Input Assisted.

Take a look here :http://jsbin.com/zudazuquxa/2/edit

If you see, the filter applied is sap.ui.model.FilterOperator.Contains

However, it still works startsWith


Am I missing something?


Please help


Thanks

Amjad


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You'll have to reset the default filter function for suggestion.The default is to check whether the first item text begins with the typed value.


oInput.setFilterFunction(function(sValue, oItem){

  return true;

});

JS Bin - Collaborative JavaScript Debugging

Answers (0)