SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.5k stars 260 forks source link

[Menu] Single / Multi Select Menu Item #9625

Open 3bwong opened 1 month ago

3bwong commented 1 month ago

Is your feature request related to a problem?

There is a single / multi select option in ui5 sap.m.Menu but not available in webcomponent-react yet. Also, in some cases, we need to show selected parent menu item as well which is not supported at all.

Describe the solution you'd like

https://sapui5untested.int.sap.eu2.hana.ondemand.com/#/entity/sap.m.Menu/sample/sap.m.sample.MenuSelectable

For parent selected option, image

Describe alternatives you've considered

No response

Additional Context

If possible, we would like to be able to place the selected checkmark in front by choice.

Organization

SAC

Declaration

MarcusNotheis commented 1 month ago

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

ivoplashkov commented 1 month ago

Hello colleagues,

Could you please consider if this feature request is to be implemented in the component.

Best regards, Ivaylo

DMihaylova commented 2 weeks ago

Hello @3bwong,

We plan to start working on that feature in UI5 Web Components too :) Please note that, according to the current specification, a menu item cannot be both selected and serve as a parent to a sub-menu simultaneously.

Thanks & Regards, Diana