Skip to content

docs(Select): add missing getters/setters to DOMRef table #5343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions packages/main/src/webComponents/Select/SelectDomRef.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,22 @@
"visibility": "public",
"type": "sap.ui.webc.main.ISelectOption",
"description": "Currently selected <code>ui5-option</code> element."
},
{
"name": "value",
"visibility": "public",
"since": "1.20.0",
"formEvents": "change,liveChange",
"formProperty": "true",
"type": "string",
"description": "Defines the value of the component: <br> - when get - returns the value of the component, e.g. the <code>value</code> property of the selected option or its text content. <br> - when set - selects the option with matching <code>value</code> property or text content. <br><br> <b>Note:</b> If the given value does not match any existing option, the first option will get selected.",
"defaultValue": "\"\""
},
{
"name": "menu",
"visibility": "public",
"since": "1.17.0",
"type": "sap.ui.webc.base.types.DOMReference",
"description": "Defines a reference (ID or DOM element) of component's menu of options as alternative to define the select's dropdown. <br><br> <b>Note:</b> Usage of <code>ui5-select-menu</code> is recommended."
}
]