I am using the multi-select which is bound to a collection in my Xano project to grab the ID # I need. I am only able to take the first item in my multiselect and create a properly formatted object out of it.
Thank you for helping and I’ve seen your posts on twitter
I’m getting undefined when running this arrow function. I have values in my multi-select array as you can see on the right. Any additional help would be appreciated. In the meantime, I will try to run some functions on the backend in Xano and see if that turns out easier.
That return is making a hash of things. By being on a line by itself, it is saying “return the thing after the return word”. And since nothing follows it, it is returning nothing. And Javascript for nothing is “undefined”.
To solve this, put the return keyword in front of your green block so it reads:
return [green box with "input multiselect - currentSelection"].map((value)=>({equipmenttypes_id: value}))
How did you manage to get the fat arrow to work without the formulate editor intervening? When I type ‘=’ or ‘>’, the formula editor reformats those two characters.