Getting a value in the Block list label editor

Hi

I have a block list in umbraco 10.

The available block, has two properties, “link”, and “Exclude”

exclude is a true/false, and link is a link picker.

I would like to show the value of “Exclude” in the label when the editor is picking blocks..

So I tried this:

{{$index}} - {{ link | ncNodeName}} {{ Exclude | ncRichText }}

Which actually works.
But the “Exclude” part just becomes a 0, or 1.

I’d like it to output “Exclude” or “Include” depending on the value

Can someone help me with that?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114658-getting-a-value-in-the-block-list-label-editor