Skip to content

(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

Description

@joepperkins

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:

  1. Add the property below to DotNetEd.CoreAdmin.DemoApp.Models.TestEntity
    public float TaxRate { get; set; }
  2. Edit the TestEntity from the UI and throws an exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions