0
votes

In the following Smart Filter Bar example when clicking on the Company Code value help, what is the purpose of the search field? It doesn't do anything when I am trying to use it. I am trying to implement similar in my app but it is not working either. enter image description here

2

2 Answers

0
votes

I explain this in terms of OData request.

If you enter "Value1" in the basic search field:

search-focus=CompanyCode&search=Value1

If you type "Value2" in the Company Code value help:

$filter=(CompanyCode eq 'Value2')&search-focus=CompanyCode&search=

If you enter values in both fields:

$filter=(CompanyCode eq 'Value2')&search-focus=CompanyCode&search=Value1

Hope this helps. Thank you.

0
votes

This is the so called "Basic Search Field" The basic search field allows the user to filter the results by a given keyword.

Further information can be found here: https://experience.sap.com/fiori-design-web/filter-bar/#guidelines