EditForm Header-Detail in Blazor Server

341 Views Asked by At

I'm new to Blazor (Server). I see EditForm is very useful for CRUD and validation for a single model instance. However, when implementing a Header-Detail form (such as an invoice with an editable inner item list), I can't understand which model to assign to the EditContext of the EditForm. That is, I have the header model and a list of model instances (table) for the related items. Is the EditForm not practical for that kind of form? Is there another options in Blazor?

0

There are 0 best solutions below