You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled exception rendering component: The provided expression contains a PropertyExpression which is not supported. FieldIdentifier only supports simple member accessors (fields, properties) of an object #39906
I am getting the above exception when trying to load any razor component that contains a Blazor Input. Any Razor component that contains simple html inputs is working fine. The issue we're having is that this isn't an issue when running locally, but when we upload this project to a Web App in Azure, we see this exception.
Here is the view I am trying to render:
I have tried removing the ValidationMessages, the DataAnnotation Validators and using InputText's for both of the fields in the form. The Dto is a simple class:
public class UserLoginDto { public string Email { get; set; } public string Password { get; set; } public bool IsPersistent { get; set; } }
I believe this to be an issue with dotnet.5.0.13.js/dotnet.5.0.13 in general as we have multiple projects that run on dotnet 5.0.9 - 5.0.11 without issue in Azure - all using WASM and all using the exact same Azure configurations.