-
Notifications
You must be signed in to change notification settings - Fork 9.4k
UI Component grid indicates a wrong number of selections when removin… #25253
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
Conversation
Hi @prabhatrawat-webkul. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
Hey @prabhatrawat-webkul, please take a look at the failing tests. |
@magento run all tests |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prabhatrawat-webkul solution looks good to me! Could you please fix JS static test failures and cover changes with automated test? Thank you!
HI, @prabhatrawat-webkul Could you please fix |
Hi @prabhatrawat-webkul, thanks for your contribution. After looking at the issue and the possible solutions we've decided to proceed with this PR #29968 that aims to fix the same issue. The approach that was chosen was to preserve the same behavior that we have with filters. So when a search tag is removed from filters the previous selection becomes invalid and it is dismissed. As result, we have the same behavior across multiple functionalities on the grid. I will be closing this PR but feel free to reopen it anytime. |
Hi @prabhatrawat-webkul, thank you for your contribution! |
wrong number of selections(selected records) in ui component grid #24348
Description (*)
After removing the full text search keyword the selected records and count mismatches. Which is fixed now.
Fixed Issues (if relevant)
Manual testing scenarios (*)
I. Remove the 'one' keyword search by pressing the 'x' icon to the right of it.
II. Notice that it now says that one record is selected, but visually all records have a checkmark:
Questions or comments
Contribution checklist (*)