SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.92k stars 1.23k forks source link

Smart filter bar filter changes not taking effect immediately by clicking on Go button #4004

Closed akhilesh-vatupalli closed 4 months ago

akhilesh-vatupalli commented 4 months ago

Dear Experts,

This might be a problem from my end as well. But, when I change a value of filter on the smart filter bar with pattern search as shown in the attached video. It takes additional click to get that value updated to the smart filter model looks like.

Is this the expected behavior? or am I making any mistake?

UI5 version: 1.96.7

~Akhilesh

https://github.com/SAP/openui5/assets/80521104/380db78a-3e69-4f8c-aee6-2aea0fce55e0

ndeshev commented 4 months ago

Hello @akhilesh-vatupalli,

This is not expected behavior, it is most likely related to some of the application logic, because in isolated SmartFilterBar sample it is not reproduced.

https://sapui5.hana.ondemand.com/sdk/#/entity/sap.ui.comp.smartfilterbar.SmartFilterBar/sample/sap.ui.comp.sample.smartfilterbar.Basic

Regards, Nikolay

akhilesh-vatupalli commented 4 months ago

Hi Nikolay,

Thank you for your reply. I feel there is nothing much we have written in the UI to handle the smartfilterbar. But for me the issue exists and it is very unpredictive. Meaning sometimes "Go" button is triggering the backend call and sometimes it is only updating the filter fields and blurring out the smart table below, as shown in the video.

Is there anyway I can share the coding to you so that you can check it out? or could you give us any hint on where can we check this to diagnose the problem?

PS One more observation is, after entering the filter values, pressing "Enter" button works perfectly fine. Only "Go" button sometimes causing this behavior.

Thank you!

~Akhilesh

TeodorTaushanov commented 4 months ago

The issue is reproducible in version 1.96.

https://ui5.sap.com/1.96.30/#/entity/sap.ui.comp.smartfilterbar.SmartFilterBar/sample/sap.ui.comp.sample.smartfilterbar.example1

TeodorTaushanov commented 4 months ago

SmartFilterBar is part of SapUI5 not of OpenUI5. GitHub is a place for managing issues for OpenUI5 only. Please, open a ticket in SAP ticket system for managing incidents, like

https://launchpad.support.sap.com/

Greetings, Teodor

akhilesh-vatupalli commented 4 months ago

Thank you so much @TeodorTaushanov , I will proceed and raise SAP incident for the same.