Hi @beestree, Beerd,
Leukenaardig 🙂. I do this in English so others can benefit as well. It depends where the source of your dropdown list needs to come from. If it is from an existing status column, you need to add the column to the recipe and also add columnValue to the recipe. Then you get something like: When Status is Done …
If you want to be able to use just a random list you can build a custom field type. Select list as type and provide an endpoint to your server.
That endpoint provides the values in your dropdown by exporting them as an array of JSON objects.
module.exports = {
TRANSFORMATION_TYPES: :
{title: 'to upper case', value: 'TO_UPPER_CASE'},
{title: 'to lower case', value: 'TO_LOWER_CASE'}
]
}
end in your custom action you can access the chosen option with:
const { payload } = req.body;
const { inboundFieldValues } = payload;
const { boardId, itemId, sourceColumnId, targetColumnId, transformationType } = inboundFieldValues;
…
Hope this helps you a little further. Examples are from quickstart-integration
Hi @basdebruin,
Thank you very much for your fast reply! I think I will be able to build what I wanted now.
Hey @beestree - I’m so glad that @basdebruin was able to provide some helpful pointers here 🙂 He’s really quite awesome all around 😎
Thanks for the help as always!
-Alex
Hey @basdebruin
I want to thank you for helping the community with your expertise.
Just like @beestree, I was also trying to figure out how to load remote options for the app I was building for monday.com Apps Challenge Hackathon. There is no real documentation provided anywhere for that but your comment helped me figure out the format of the JSON in which the options should be remotely loaded.
I built a HTML drag & drop email app for the Hackathon.
I gave you a shoutout in my entry on devpost.com.
Here’s the link to my project -
Devpost
I agree with @AlexSavchuk, You are really awesome !
Thank you !!
Hi Uday
Thank you for much for this feedback. My project is: Excellent Team - Master-Detail | Devpost