I'm trying to use the Checkbox/TrueFalse to toggle on/off certain parts of content, however it seems that no matter what setting I put the checkbox on, the Value (even parsed as Bool) always returns false.
I'm wondering if theres a property I'm missing, or if I'm somehow just completely doing it wrong.
@if(item.Value<bool>("includeButton")) {
var linkUrl = item.Value<IPublishedContent>("buttonLink").Url;
<a href="@linkUrl" class="Button Button--primary">@item.Value("buttonLabel")</a>
}
I've tried a few different methods, but to no success.
Any help appreciated.
UPDATE
This is a known issue inside Umbraco 8.0