title: Client Validation Error With Input Fields Containing Currency Values
body: <p>I'm developing a web app using Asp.Net Core 2.1 and Code First.I've got a bunch of properties of type decimal and decorated them with the following attribute:</p>
  
  <pre><code>        [DisplayFormat(DataFormatString = "{0:C0}", ApplyFormatInEditMode = true)]
  </code></pre>
  
  <p>The problem is when the form goes in edit mode,the client validation throws the following error since the input field contains the currency symbol:</p>
  
  <blockquote>
    <p>The field must be a number.</p>
  </blockquote>
  
  <p>How can I tell asp.net core to treat an input field with currency symbol as decimal value?</p>