Skip to content

Commit

Permalink
docs(ui5-select-menu-option): correct disabled property description (#…
Browse files Browse the repository at this point in the history
…7925)

docs(ui5-select-menu-option): correct docs

Co-authored-by: Nayden Naydenov <[email protected]>
  • Loading branch information
nnaydenow and Nayden Naydenov authored Nov 28, 2023
1 parent 944b260 commit 10b78f4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/main/src/SelectMenuOption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import type { AccessibilityAttributes } from "./ListItem.js";
* @constructor
* @author SAP SE
* @alias sap.ui.webc.main.SelectMenuOption
* @extends sap.ui.webc.base.UI5Element
* @extends sap.ui.webc.main.CustomListItem
* @implements sap.ui.webc.main.ISelectMenuOption
* @tagname ui5-select-menu-option
* @public
Expand All @@ -53,6 +53,18 @@ class SelectMenuOption extends CustomListItem implements IOption {
@property()
displayText!: string;

/**
* Defines whether the component is in disabled state.
* <br><br>
* <b>Note:</b> A disabled component is hidden.
* @type {boolean}
* @defaultvalue false
* @name sap.ui.webc.main.SelectMenuOption.prototype.disabled
* @public
*/
@property({ type: Boolean })
disabled!: boolean;

/**
* Defines the value of the <code>ui5-select</code> inside an HTML Form element when this component is selected.
* For more information on HTML Form support, see the <code>name</code> property of <code>ui5-select</code>.
Expand Down

0 comments on commit 10b78f4

Please sign in to comment.