RadzenTemplateForm with complex TItem types

Hi, I have a form that generates fields by looping through a List<FieldGroupModel>. Each FieldGroupModel contains a List<GeneralDetailModel>, and for each GeneralDetailModel, there are corresponding child components.

I need to validate this form using Radzen validators. In this scenario, can I use a single RadzenTemplateForm? If so, what should the TItem be? Alternatively, is it more appropriate to create a form for each FieldGroupModel?

Hi @Maximus,

I don't think you could use a single form. You should probably create a form per item via @foreach.

So form can handle only a single model, or can it manage complex types and lists as well?

I am afraid I don't understand your question. Perhaps it is just easier to test and see what works for you.