openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

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

Open akhilesh-vatupalli opened this issue 1 year ago • 1 comments

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

akhilesh-vatupalli avatar Mar 14 '24 13:03 akhilesh-vatupalli

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

ndeshev avatar Mar 14 '24 13:03 ndeshev

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

akhilesh-vatupalli avatar Mar 18 '24 11:03 akhilesh-vatupalli

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 avatar Mar 18 '24 14:03 TeodorTaushanov

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

TeodorTaushanov avatar Mar 18 '24 15:03 TeodorTaushanov

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

akhilesh-vatupalli avatar Mar 18 '24 15:03 akhilesh-vatupalli