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

[Feature Request]: ui5 multi combobox support load more

Open InfiniteXyy opened this issue 1 year ago • 2 comments

Feature Request Description

The ui5 combobox can support the loadMore event. This is particularly useful for lists that support dynamic loading, for example, we can fetch the option list based on the user's input. and Allow user to scroll bottom to get more options

Proposed Solution

I found that the multi combobox now uses ui5-list to render the dropdown menu, and ui5-list supports loadMore. Is it possible to expose the loadMore event of ui5-list at the combobox level?

Proposed Alternatives

No response

Organization

No response

Additional Context

No response

Priority

None

Privacy Policy

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

InfiniteXyy avatar Jan 08 '25 07:01 InfiniteXyy

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

Please take a look at this feature request.

Best regards, Boyan

unazko avatar Jan 09 '25 09:01 unazko

Hi @InfiniteXyy ,

Thank you for contacting us!

The (Multi)ComboBox components were never designed to have such functionality as the picker of the components is by design not suitable for usage with large amounts of items. The case is different for the ui5-input and ui5-multi-input component, where custom picker can be created. So currently, there are no plans to introduce the functionality in the same way as in the list component. That is the reason why the recommended limit of items in the the ui5-(multi-)combobox components is ~200. More information regarding the components usage can be found here: https://experience.sap.com/fiori-design-web/multi-combo-box-web-component/ https://experience.sap.com/fiori-design-web/combo-box-web-component/

However, in some cases, there is the real need to load the items on a later stage, so the functionality already available in UI5 for lazy loading the items will be implemented in the components as well - based on our priorities and available capacity. (Internal BLI: FIORITECHP1-32718 and the original issue github https://github.com/SAP/ui5-webcomponents/issues/4483).

Best Regards, Hristo

hristop avatar Jan 28 '25 10:01 hristop