Skip to content

[Feature Request]: ability to define custom template for selected option & dropdown #13907

Description

@marvinrohde-leanix

Feature Request Description

We recently adopted UI5 Web Components in our (Angular) project, and with previous UI components we were able to customize the dropdown content, as well as the selected item template:

<ui-single-select>
	<div selectedOption>
		<!-- custom selected item template goes here -->
	</div>
	<div dropdownContent>
		<!-- custom dropdown template goes here -->
	</div>
</ui-single-select>	

Is this something that you envision to be supported in the dropdown components (combobox, select etc.)?

Thanks!

Proposed Solution

Something in the direction of:

<ui5-combobox>
	<div slot="selectedOption">
		<!-- custom selected item template goes here -->
	</div>
	<div slot="dropdown">
		<!-- custom dropdown template goes here -->
	</div>
</ui5-combobox>

Proposed Alternatives

No response

Organization

SAP LeanIX

Additional Context

No response

Priority

High

Privacy Policy

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

Metadata

Metadata

Assignees

Projects

Status
New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions