Closed danroth27 closed 1 year ago
The problem reported here no longer repros (at least, when https://github.com/dotnet/aspnetcore/pull/49340 is merged).
However, the logic in the sample is buggy. In OnInitializedAsync
, it overwrites its own [SupplyParameterFromForm]
parameter, which will erase the incoming form data.
I'm working on a Blazor version of the Razor Pages movie app using .NET 8 Preview 6. When I try to create a form in Blazor for editing a movie, I get the following error when submitting the form:
Here's the code for the Edit.razor page: