Question

How to set dynamic field as boolean

  • 5 March 2021
  • 2 replies
  • 140 views

Userlevel 1
Badge

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

 


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

Userlevel 7
Badge +9

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

Userlevel 1
Badge

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

 

 

https://share.getcloudapp.com/kpu7zLQb