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
(floats) InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'System.Single', but this ViewDataDictionary instance requires a model item of type 'System.String'.
#115
Open
joepperkins opened this issue
Jan 5, 2025
· 2 comments
Any Entity property of type float causes the exception below
InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'System.Single', but this ViewDataDictionary instance requires a model item of type 'System.String'.
Steps to reproduce:
Add the property below to DotNetEd.CoreAdmin.DemoApp.Models.TestEntity public float TaxRate { get; set; }
Edit the TestEntity from the UI and throws an exception
The text was updated successfully, but these errors were encountered:
Any Entity property of type float causes the exception below
InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'System.Single', but this ViewDataDictionary instance requires a model item of type 'System.String'.
Steps to reproduce:
public float TaxRate { get; set; }
The text was updated successfully, but these errors were encountered: