Fix html5 style data attribute for minLength

Fixed the html5 min-length change to set the right setting - minLength