client-side validation trips on DataAnnotation Range attribute

后端 未结 4 1369
北海茫月
北海茫月 2020-12-03 22:32

I have the following code in my Model class:

    [Range(1, 100)]
    public decimal Price { get; set; }

After recent upgrade (I assume) of

4条回答
  •  [愿得一人]
    2020-12-03 23:13

    Microsoft issued an update to microsoft.jQuery.Unobtrusive.Ajax and to microsoft.jQuery.Unobtrusive.Validation (from version '2.0.20710.0' to '2.0.30116.0') that fixes both .live and validation problems

提交回复
热议问题