2 references to ReturnErrorResponse
Microsoft.AspNetCore.Components.Endpoints (2)
Rendering\EndpointHtmlRenderer.EventDispatch.cs (2)
27return ReturnErrorResponse("The POST request does not specify which form is being submitted. To fix this, ensure <form> elements have a @formname attribute with any unique value, or pass a FormName parameter if using <EditForm>."); 36return ReturnErrorResponse($"Cannot submit the form '{handlerName}' because no form on the page currently has that name.");