I am trying to figure out how to access selected check boxes via Javascript in the V2 API. I’m on Skuid version 12.2.14
In V1 I would do something like this and it would work:
var selectedItems = argumentst0].list.getSelectedItems();
But in V2 with the same setup the line of code above produces an error:
skuid__SharedRuntimeJS:2 TypeError: list.getSelectedItems is not a function
Does anyone have a code snippet they can share, it can be a link to Skuid documentation, that has an example of a V2 API reading selected items?
I attempted to adapt the code found in the first example on this page: https://docs.skuid.com/latest/en/skuid/javascript/snippets/using-snippets-intro.html but got the same error.