Skip to Content

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

Question on sap.m.multiinput


I am using sap.m.multiInput UI control to search for territories from the backend tables. After every letter is typed, a request is made to a oData service and it retrieves the list of territories from the database that match the values that is typed. For example if the user has types "In" , a request is made and all countries that begin with "In" are shows as the list of available suggestions, so in this case countries like "India", Indonesia" etc will be shown in the list of suggestions.

The problem is that if the user types "In" and then types "x", i.e the work becomes "Inx" , a request is made and no country is found that starts with "Inx", in this case all suggestions go away which is fine but the text "Inx" also gets deleted from field.

Is there a way to NOT get the value in "sap.m.multipInput" get deleted by itself, if no match is found ?



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