Skip to content

Commit 06ff370

Browse files
docs(ui5-user-menu-item): improve the description of showSelection property (#13480)
chore(ui5-user-menu-item): improve the description of showSelection property
1 parent 68ee01c commit 06ff370

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

packages/fiori/src/UserMenuItem.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,15 @@ class UserMenuItem extends MenuItem {
4646
declare items: DefaultSlot<UserMenuItem>;
4747

4848
/**
49-
* When set, a second line appears below the menu item text
50-
* showing the text of the currently selected (checked) sub-item.
49+
* When set, a second line appears below the menu item text showing the text
50+
* of the currently selected sub-item. Intended for use with a single-select
51+
* ui5-menu-item-group (check-mode="Single").
52+
* When enabled, the checked sub-item cannot be unchecked,
53+
* ensuring the selection text is always displayed.
5154
*
5255
* @default false
5356
* @public
57+
* @since 2.22.0
5458
*/
5559
@property({ type: Boolean })
5660
showSelection = false;

0 commit comments

Comments
 (0)