MVC3 Validation with ComponentModel.DataAnnotations for UK date format (also using jquery ui datepicker)

前端 未结 6 909
后悔当初
后悔当初 2021-01-05 14:25

I see there are some similar questions to this, but none solve my issue.

I am working on an MVC3 app with Entity Framework 4.3. I have a UK date field that i plan t

6条回答
  •  醉酒成梦
    2021-01-05 15:07

    The problem is that by some reason if you put a class called "date" in your textbox, Chrome just get crazy as discribed here at this blog. I had the same problem and I just changed the class name to customDate and it was solved.

提交回复
热议问题