Skip to main content
Question

How to set dynamic field as boolean


Forum|alt.badge.img

I am not sure if this is a bug or not but I’m trying to get a dynamic field to show up as a boolean with the ‘overwrite’ dropdown choices of true and false using platform UI.

 

code
result

 

Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Forum|alt.badge.img+9
  • Zapier Staff
  • 331 replies
  • March 5, 2021

On a quick look I spot two things that might explain what you’re running into.  

 

  1. you’re building an array with map, but that’s not actually what you end up returning from your function: https://cdn.zappy.app/b9e90abcee59c6b8a6fe45fbc168efc3.png
  2. choices and boolean aren’t compatible, so I’d probably drop the choices attribute if you want boolean input  https://zapier.github.io/zapier-platform-schema/build/schema.html#fieldchoicesschema

Let us know if that doesn’t get you up and running


Forum|alt.badge.img
  • Author
  • Beginner
  • 3 replies
  • March 5, 2021

I made the suggested changes and I am still getting the same result.

 

 

https://share.getcloudapp.com/kpu7zLQb