I had the same issue as Ray T, but it was solved by removing the 'hidden' input type in the GadgetForm. I think this bit of text is extraneous since we defined a Gadget to instantiate with an Id value of -1. I'm not sure exactly what the form is doing, it seems to be checking if it's own property is -1 before we instantiate a Gadget, but I'm not quite sure. Hope that helps someone in the future!
ryanheitmann
When I press the details button on any item it returns the first item in the db, any suggestions?
tiagogoncalves
Hello there, there is a problem, try creating a new gadget, the view has an object reference not set to an instance of an object exception because it is expecting a GadgetModel with data?.
rayt
What in the world happened? Everything got changed to