-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Steps to reproduce
Create table with elements that can be sorted by id and other types, and sort them in a way that breaks the linearity of the id numbers. Once the select all checkbox is clicked, only some are selected.
Edit - There seems to be a litany of issues with select all, the same issue also appears and is reproducable in the codepen below with many other cases,
- By searching for specific elements and selecting all, not all are selected (e.g. search for 't' and try to select all elements https://i.imgur.com/YHyIUlS.png
- Exit out of that search and again try to select all on all elements, all of a sudden a few elements are not selected when clicking the select all. https://i.imgur.com/3ELZgb2.png
Which browser?
Vue-Material@^1.0.0-beta-7
Vue@^2.5.0
Electron@1.7.10
What is expected?
It should select all elements regardless of id order
What is actually happening?
I believe it is using the id's to decide which elements to select, and when it encounters out of order id's it goes off.
Reproduction Link
https://codepen.io/anon/pen/RxKMxW
Selecting all when sorted by id works fine, but when sorting by name or anything else that breaks the order of the ID column, not all elements are selected, only around half. https://i.imgur.com/pSTfj6N.png