Hey, there. I’m running into something strange with the Inputs.table() function.
I have an array of integers: [2, 3, 7, 8, 13, 14, 15, 18, 19…]
I want to use that array to filter which rows in my table are pre-selected, via the “value” property. (upload://67e2FAOPlGUqX6woZ8lEJOFTGhH.png)
For some reason, whenever a specified row is selected, if there’s another row with the same value, it will also be selected. This is a problem because some of the duplicate rows are supposed to be selected, and some of them aren’t, as defined by the aforementioned array. For example, row 3 is correctly selected, but so is row 4, even though 4 isn’t in the array.
Why is this happening, and how can I get the correct outcome? I assume it has something to do with some of the rows being identical, but that’s an essential part of the data I’m using (multiples of a card being selectable).