The field must be a number

前端 未结 4 2152
死守一世寂寞
死守一世寂寞 2021-02-19 08:32

I have this field:

public decimal Price { get; set; } in Database it is decimal (7,2).

View:

 @Html.EditorFor(model => model.Pric         


        
4条回答
  •  既然无缘
    2021-02-19 09:02

    One solution I found was to override the validation functions of jquery.validate.js


    
    

提交回复
热议问题