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

fix(ui5-table): check select all checkbox, when all rows are selected programatically #4455

Merged
merged 3 commits into from
Dec 9, 2021

Conversation

niyap
Copy link
Contributor

@niyap niyap commented Dec 8, 2021

FIXES: #4338

@@ -371,6 +371,29 @@ describe("Table general interaction", () => {
assert.strictEqual(await selectionChangeCount.getProperty("value"), "5", "Enter key over an already selected row should trigger selection-change event");
});

it("test selectAll functionallity in MultiSelect mode", async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

could you also add a case, when the checkbox is checked, then you have unselected an item.

@niyap niyap merged commit 7baabfa into SAP:master Dec 9, 2021
eshpak pushed a commit to eshpak/ui5-webcomponents that referenced this pull request Jan 9, 2022
… programatically (SAP#4455)

* fix(ui5-table): check select all checkbox, when all rows are selected programatically

* remove change added by mistake

* additional test added
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-table] Table: programatically changing row selection doesn't update "Select All" checkbox
2 participants