Add HTML5 support to HtmlHelper methods TextBoxFor etc
Support would include adding the required attribute when the RequiredAttribute DataAnnotation is applied to a property. Setting the input type for numeric properties to number. Using the HTML min and max attributes when a DataAnnotations RangeAttribute is applied to a property. I could give more examples but in essence DataAnnotations should map to HTML 5 attributes in preference to JQuery Validation with JQuery Validation fallback.
2
votes