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

[Feature Request]: ui5-toolbar-select "value" property and "label" slot enablement

Open StefanDimitrov04 opened this issue 7 months ago • 2 comments

Feature Request Description

We’ve run into a limitation with the ToolbarSelect component that’s preventing us from delivering the user experience we need in our sap-rich-text-editor. Specifically, we want to show the current font family or font size in the field of the ToolbarSelect, even when that value isn’t part of the predefined options in the dropdown.

Right now, ToolbarSelect doesn’t expose a value property and a label slot to let us control the visible text independently of the options. This means we can’t display a custom selection unless it’s already in the list—unlike the standard ui5-select, which does support this.

Image Image

Our use case: if a user applies a custom font or size that’s not in the list, we still want to reflect that current value in the field (without polluting the dropdown with temporary or one-off options).

Here is an example of how it looks with sap.m.Select in our sap.ui.richtexteditor:

Image

Would it be possible to support this in the future?

Proposed Solution

N/A

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.

StefanDimitrov04 avatar Jun 11 '25 06:06 StefanDimitrov04

"Hello @SAP/ui5-webcomponents-topic-p , take a look of this feature request."

Valkanister avatar Jun 11 '25 10:06 Valkanister

Internal reference: BGSOFUIPIRIN-6864

dobrinyonkov avatar Jun 16 '25 10:06 dobrinyonkov

This issue has been closed. To reopen, just leave a comment!

github-actions[bot] avatar Sep 09 '25 13:09 github-actions[bot]