Closed hinzzx closed 3 weeks ago
In my opinion, it seems redundant to have first selected filters with all their options inside (no matter selected or not, but there is property for this), and second - the same list of just selected options. If there is no (easy) way to list just selected filter item (without its options), the second (selected options list) is maybe pointless.
Edit: After a discussion we decided to remove the second list.
Previously, when confirming the selection in the View Settings Dialog, the visible UI text of the selected item was returned. However, this text doesn't always match the value required by the backend service for example, and it can also change due to translations or other factors, creating inconsistencies.
To address this, we are now providing the slotted
ui5-filter-item
's in theui5-confirm
event details.This way the app developers could be able to selectively filter the selected items by property of their liking (for example by adding
data-key
(or similar) attribute/property to theui5-filter-item-option
's orui5-filter-item
's);Sample usage:
Fixes: #7579 Fixes: #6910