How to use toogle fields in block preview

I need to show a button in my custom block preview if a toogle field (mailBtn) is set to true. This is what I have, but it does not work - is this possible?

  <div class="w-full" @click="open" v-if="content.mailBtn == true">
  <a class="mono btn">signup</a>

Check what you really get from that toggle field, maybe it’s a string true. Then either compare to this string or create a method that returns a boolean.

ah ok - it does not allow me to use camelcase, change all to lowercase works fine.

Ah right, missed that :innocent: