November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
I haven't no, I did a quick workaround where I simply remove the DataToken before rendering my form and it worked. Haven't had time to go back to ít though.
protected override IViewComponentResult InvokeComponent(FormContainerBlock currentContent) {
RouteData.DataTokens.Remove("EPi:InsideFormBlock");
return base.InvokeComponent(currentContent);
}
Was in contact with support and got some information:
The bug has been fixed in the Episerver.Forms 5.6.1 which has not been released yet ..
You can follow the bug at this link:
https://world.optimizely.com/support/bug-list/bug/AFORM-3478
We have a page which includes two forms in which we inherit from "FormContainerBlockController" to add on some extra functionallity to our forms. We then render our extra stuff and pass the form container to the regular views like this.
Cannot convert null to 'bool' because it is a non-nullable value type