ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[ComboBox][SF]: Support for pagination functionality in combobox when the number of options are large

Open Ankitadoshi opened this issue 2 years ago • 5 comments

Feature Request Description

We have a requirement for a paginated combobox component. Whenever the number of options are huge, we have an API to fetch the options which is paginated so it returns the first page of results. The expected behaviour is that when user scroll downs the option list, it should call the API to fetch the options of next page and so on. Also when the user types something on the combobox, we need to invoke an API to return the matched search results (Also paginated). The options list is configurable and hence the number of options varies for different fields. We tried exploring the input with suggestion component for this use case but the issue with that is the user might not know exactly what to type in the input so that he can see the suggestions. There is no way for the user to see the suggestion items without typing something in the input field So we need a dropdown behaviour where the user can see the options as well

Proposed Solution

The ComboBox can add a onScrollToEnd props (or another better name), which will be called when user scroll down to end of ComboBoxItem list and we can make an API call for the same

Proposed Alternatives

No response

Organization

SF

Additional Context

No response

Priority

Medium

Privacy Policy

  • [X] I’m not disclosing any internal or sensitive information.

Ankitadoshi avatar Dec 21 '23 04:12 Ankitadoshi

Hi team, Any updates for this request? can you let us know by when this feature can be added?

Ankitadoshi avatar Jan 04 '24 12:01 Ankitadoshi

Hello @SAP/ui5-webcomponents-topic-rl,

Could you please take a look at that feature request, thanks.

ndeshev avatar Jan 08 '24 11:01 ndeshev

Hi @Ankitadoshi ,

Thanks for contacting us regarding this feature. As we lack Ux/VD/ACC specifications for such feature and we will require such for its implementation, can you please contact your design team and let them sync with Central Design so that the proper specs can be provided? It would be nice to provide the number of the design BLI here for reference once such has been created. This way we can monitor the progress as well.

In case you are not familiar with the process - there is pinned link in the slack channel.

Best Regards, Hristo

hristop avatar Jan 09 '24 12:01 hristop

Hello, everyone! The issue has been inactive for 21 days. If there are still questions or comments, please feel free to continue the discussion. Inactive issues will be closed after 7 days!

github-actions[bot] avatar Jan 31 '24 00:01 github-actions[bot]

Hello, everyone! The issue has been inactive for 28 days, so I am closing the issue.

github-actions[bot] avatar Feb 08 '24 00:02 github-actions[bot]