Hello everyone,
I have a true/false datafield that requires a third “maybe” option. Whilst I have been slowly reworking my true/false datafields into other types, I wanted to try using “undefined” as a quick fix in this case:
@if(#ia^rop-m-revised = undefined, @placeholder(“●”), @if(#ia^rop-m-revised = true, “revision”, “adoption”))
I had hoped the above might work, outputting a placeholder if the true/false-datafield is undefined, and then swapping between the true and false options. However, it does not. Both “undefined” and “false” now output the placeholder.
Is this intended behavior? I know that true/false defaults to “false”, so I can guess that undefined = false to achieve this.
Best
Kai