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?
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.