-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Make group-item in combo box a container #7732
Comments
Hello @SAP/ui5-webcomponents-topic-rl, Could you please have a look and consider this feature request regarding grouping of items in ui5-combobox? Thanks and Kind regards, |
Hello @SAP/ui5-webcomponents-topic-rl, We have to analyse and discuss with designer, whether it is feasible to implement this approach? Kind Regards, |
Thanks @niyap for the comment. I would recommend this way since it is much clearer semantically and I think it is also how grouping is implemented in general. I found some examples in Vue and Angular:
Except for the modern frameworks, this is how a browser supports: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup?retiredLocale=de Best regards |
Hi @niyap , In addition to the coding part, I also noticed that at least in the documentation, the grouping feature is only available for Combo Box, but not for Select. Could you also ask the designers/developers if it makes sense to have the grouping feature for Select as well? Thanks and cheers |
Hi @yetian , After discussion with or architects we have decided that this is good candidate for v2.0 of the web-components (4460) as it is incompatible with the current implementation. So for now we will have to reject it, but we will surely have this in mind when we plan the changes in 2.0. Best Regards, |
Thanks @hristop! Look forward to v2.0. |
Feature Request Description
In the current documentation of the combo box component, the "Grouping" feature is defined in the following way:
However, I couldn't find a way to figure out, without code injection, how I can generate dynamically grouped items, at least in Vue.
Proposed Solution
Instead of the current way of creating grouped items, I propose the following. Semantically and visually, it is also clear which items are in which groups.
In Vue, then I can generate the list dynamically:
Proposed Alternatives
No response
Organization
No response
Additional Context
No response
Priority
Medium
Privacy Policy
The text was updated successfully, but these errors were encountered: