Reputation: 287
I'd like to create a static combobox thanks to a custom hidden trigger.
I've seen couple examples of Zapier triggers in their repository (such as https://github.com/zapier/zapier-platform-example-app-trigger) but not static.
I'm using Zapier CLI and don't use the previous scripting build UI.
Thank you!
Upvotes: 1
Views: 329
Reputation: 5262
David here, from the Zapier Platform team.
If your dropdown is totally static, you can use the choices
property outlined here. There's a couple of different options (depending if order matters or you need labels) but the end goal is that you'll have a choices
key with an array or object attached to it.
For example:
inputFields: [
{
key: 'color',
required: true,
choices: ['red', 'blue', 'green']
}
]
Hope this helps. Let me know if you've got any other questions!
Upvotes: 2