Join the Webstudio community

Updated 4 weeks ago

Show expects a boolean value

I've created a simple formula in Airtable to show either true or false.
I was hoping to bind this field to Settings>Show, but it's giving me an error Show expects a boolean value. I would think that true or false is a boolean value, but maybe I'm wrong.
Attachments
image.png
image.png
R
B
7 comments
I noticed the catch. Even though in Airtable it's without quotation marks, in the expression editor I can see it adds those again. I'll need to figure out how to remove those.
Attachment
image.png
Just compare with "true"
It's giving me that red + circle icon error that doesn't allow me to do it with "true"
I mean ...fields.Visibility === "true"
That works like a charm 😁 😎
I've edited the docs on github and send a commit to update the docs. I hope that can be helpful for others as well.
Add a reply
Sign up and join the conversation on Discord