I am using a listbox and would like to display multiple columns, however an error is preventing this from happening. Even trying to do a single column with the template produces the same error. The error being generated is The child content element 'Template' of component 'RadzenListBox' uses the same parameter name ('context') as enclosing child content element 'ChildContent' of component 'RadzenTemplateForm'. Specify the parameter name like: ' to resolve the ambiguity.
I have tried several different variations as well as an empty template. Here is the code in a couple of its versions, not all for brevity.
<RadzenListBox @bind-Value=@SelectedTestAvailabilityId Data=@TestAvailabilityList Style="height:383px"
TextProperty="TestDate" ValueProperty="Id" class="w-100" Change=@(async (args) => await TestChanged())>
<Template>
</Template>
</RadzenListBox>
Using the demo tried
<Template>
@((context as TestAvailability).TestDate.ToShortDateString())
</Template>
Or
<Template>
@((context as TestAvailability).TestDate)
</Template>
Because the error shows the word Context using upper case also tried changing the context to Context with no luck. The model TestAvailability is the same model as the TestAvailabilityList as ICollection. When not including the template no error is shown and the solution builds and runs. Installed the latest version an hour ago. 4.7.9 with same error.