input type=datetime-local sends no value, when incomplete

Confirmed Issue #13175858 • Assigned to Kris K.


Thomas S.
Aug 10, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

type=datetime-local is bugged.

When the user selects only the date but no time, the transferred form value is empty "".
Incomplete datetime-local results always in empty “” value, when there is no required field.
Chrome/Blink requires the datetime-local to be complete or absolutely nothing selected, when there is no required attribute.

Microsoft Edge 40.15063.0.0
Microsoft EdgeHTML 15.15063
on Windows 10 Version 1703 (Build 15063.540)

The HTML standard says the value must be a “valid local date and time string” consisting of date AND time components.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Bogdan B.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Bogdan B.” to “Kris K.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in