Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Date input does not work

  • In neither 12 nor 20 does the date input work correctly.

    Here is example html that is generated by .aspx a fairly well known web server and jquery.

    <div class="editor-field">
    <input class="text-box single-line ui-input-text ui-body-b ui-corner-all ui-shadow-inset ui-focus" data-val="true" data-val-date="The field AnniversaryDate must be a date." data-val-required="The AnniversaryDate field is required."

    id="AnniversaryDate" name="AnniversaryDate" type="date" value="2/8/2010"/>

    <span class="field-validation-valid" data-valmsg-for="AnniversaryDate" data-valmsg-replace="true"/>
    </div>

    In 12 acts like there is no data there and validation is triggered.
    In 20 puts up mm/dd/yy not 2/8/2010

    Seems like this could be fixed long ago, but no progress.

Locked