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-multicombobox): introduce open property and openChange event #930

Merged
merged 3 commits into from
Nov 18, 2019

Conversation

niyap
Copy link
Contributor

@niyap niyap commented Nov 14, 2019

FIXES: #713

@CLAassistant
Copy link

CLAassistant commented Nov 14, 2019

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Nia Peeva seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@niyap niyap closed this Nov 14, 2019
@niyap niyap reopened this Nov 14, 2019
@niyap niyap closed this Nov 14, 2019
@niyap niyap reopened this Nov 14, 2019
@niyap niyap closed this Nov 14, 2019
@niyap niyap reopened this Nov 14, 2019
@ilhan007 ilhan007 changed the title feat(ui5-multicombox): introduce opened property and openedChange event feat(ui5-multicombobox): introduce opened property and openedChange event Nov 15, 2019
*/
opened: {
type: Boolean,
defaultValue: false,
Copy link
Member

Choose a reason for hiding this comment

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

For Boolean properties, we don't write the defaultValue, because it is always false (can't be never true). It's good to have it in the jsdoc, so @defaultvalue false is correct, just remove defaultValue: false from the "opened" object in the metadata.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I will remove it.

resetBtn.click();
icon.click();
assert.ok(mcb.getProperty("opened"), "MultiComboBox should be opened");
assert.strictEqual(eventInput.getValue(), "openedChange", "selectionChange should be called");
Copy link
Member

Choose a reason for hiding this comment

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

did you meant "openedChange should be called" here and below

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes

@ilhan007 ilhan007 changed the title feat(ui5-multicombobox): introduce opened property and openedChange event feat(ui5-multicombobox): introduce open property and openChange event Nov 18, 2019
@ilhan007 ilhan007 merged commit c0b51f5 into SAP:master Nov 18, 2019
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.

[MultiComboBox] Add selectionFinish event
3 participants