Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Input Assisted Not Working As Contains


I need a contains filter working for Input Assisted.

Take a look here :

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

However, it still works startsWith

Am I missing something?

Please help



Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question