Skip to content

[SF] Add custom ui5-cmb-item for ComboBox #6009

Closed
@Vir-Mittal

Description

Feature Request Description

Related to #5685 and #5128.
When the style prop is used on the combo box item, the style is not applied to the generated ui5-li. Our use case is that in the combo box, we want to distinguish between items that are a part of a group and items that are not part of a group. However, there does not seem to be any way to do so currently. Adding a custom ui5-cmb-item would allow us to style the items to do so.

Sandbox -
https://codesandbox.io/s/ui5-combo-box-distinguish-grouped-items-0nc1qf?file=/index.html

Currently, this is what the combo box looks like -
Screen Shot 2022-08-17 at 2 18 07 PM

In this case, we don't want items 4, 5, 9, and 10 to be a part of any group, but visually it looks like they are a part of a group.

Priority

  • Low
  • Medium
  • High
  • Very High

A clear and concise description of the impact/urgency of the required feature.

Stakeholder Info (if applicable)

  • Organization: {...}
  • Business impact: {...}

Metadata

Assignees

Type

No type

Projects

  • Status

    Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions