Hi, I’m a newbie trying to build the last few parts of my MVP. The problem I face is this:
-
I have a drag and drop group that will allow user to change the order of some items e.g. 1. Apple, 2. Orange, 3. Banana
-
For each of the items, the underlying value changes dynamically based on an API I am connecting to. e.g. Apple = $3.50, Orange = $1.50, Banana = $2.00. But the user does not see the underlying value of course. On the front end, he sees only the fruit names
-
Depending on the order that the user drags the drag and drop items, the result ultimately changes and I would like the final result displayed on the front-end in Text
-
Based on the above e.g. if user drags and drops with final items being arranged in this sequence “Orange - Banana - Apple”, the text to be displayed based on the API data is for each of the items, it would be: “$1.50 - $2.00 - $3.50”
My best guess is a mix of custom states, workflows and database are needed. But I’m quite at a loss at how to get this to work.
Thanks so much in advance!