I'm starting my html.editorfor with "0.00" like this:
@Html.EditorFor(model => model.Preco, new { htmlAttributes = new { @Value = "0,00"} })
But when the user receives some validation message (ModelState.IsValid = false), the editorfor loses its value and returns to "0.00". The question is: would I have how do I start the editorfor with "0.00" and after the user type the new value I keep it even if the ModelState.IsValid returns false?