Skip to Content
0
Nov 08, 2019 at 08:29 AM

Clearing Smart Filter Bar fields on Navigation

165 Views

Hi Everyone,

I am currently working on a free-style Fiori application which has a Smart Filter Bar at the top in order to filter the table entries. My problem is when I enter a search query, the data is being displayed correctly, however, when I navigate from the Application homepage to the Catalog and then navigate back to the app again, the search field entries remain rather than clearing. I have identified this as a cache issue. Also, I can't put any code in the onInit() method of the app as it gets called only once on the first load of the app. How do I clear the search entries while navigating from the App Home Page to Catalog.

1.png

Attachments

1.png (60.1 kB)