I am working on a web app in which I want to allow the administrator to generate tests to monitor the patients progress through a treatment program. I am able to successfully do this using a "brute force" approach in which I hard code a model with 6 questions - 36 individual fields and then use the model with individual forms to generate tests. Here's what it looks like:

This generates a test instance that looks like this...

which when submitted and saved in the database looks like this...

However, when I create a Model for the form that includes 6 rows of test items in array that I populate from a database table that I iterate through, it blows up with the message:
InvalidOperationException: EditForm requires either a Model parameter, or an EditContext parameter, please provide one of these.Microsoft.AspNetCore.Components.Forms.EditForm.OnParametersSet()
I've included the source code to my attempts on Github at https://github.com/rswetnam/SequentialTests. Any help figuring this out greatly appreciated.