Skip to content
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

feat(ui5-select): adds readonly property selectedOption #718

Merged
merged 2 commits into from
Aug 7, 2019

Conversation

MapTo0
Copy link
Member

@MapTo0 MapTo0 commented Aug 6, 2019

FIXES: #457

@MapTo0 MapTo0 force-pushed the select-get-selected-option branch from 9177b74 to 9434409 Compare August 6, 2019 13:15
/**
* Currently selected option
* @readonly
* @type { ui5-option }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps
@returns ui5-option and without @multiple

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returns is usually for methods, not for getters - getters are treated as readonly properties (which have a type which is set or get - Boolean, String, ui5-option). I will remove the multiple.

@MapTo0 MapTo0 merged commit 5d9a1ac into master Aug 7, 2019
@MapTo0 MapTo0 deleted the select-get-selected-option branch August 7, 2019 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui5-select get selected value without listening for changes
2 participants