Skip to content

UserSettingsItem could not hide icon #12129

@mydavidzhang

Description

@mydavidzhang

Bug Description

UserSettingsItem has property "icon". If it is not set, a default "globe" is used. This introduce issue that there is no way to hide icon. Our use case need to hide icon and show title only because icon will be duplicated to other places.

Affected Component

UserSettingsItem

Expected Behaviour

There should be some way to hide icon. One way is if icon property is not set then don't show icon. Another way is introducing a new attribute to hide icon.

Isolated Example

https://sap.github.io/ui5-webcomponents/components/fiori/UserSettingsItem/

Steps to Reproduce

Open https://sap.github.io/ui5-webcomponents/components/fiori/UserSettingsItem/, check icon attribute has instruction Default as "globe".

Log Output, Stack Trace or Screenshots

No response

Priority

High

UI5 Web Components Version

2.13.2

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

SAP SF

Declaration

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

Metadata

Metadata

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions