Poor support for datetime-local (no time, and null-value if time not selected)
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: jitbit, Unassigned)
Details
Steps to reproduce:
input type=datetime-local has no time picker. So when the user selects date only (of course he does, there's no time picker!) - the whole input returns NULL in both .value in JS and in POST data. The user expects it to return a date with 00:00 time, like it does in all other browsers.
And since onchange does not fire when the user selects the date only (which is another bug), we can't even add any JS workaorunds to add "00:00" time manually
Comment 1•3 years ago
|
||
Thank you for submitting this report.
Could you share the corresponding webpage where you encountered this issue in order to reproduce it?
Comment 3•3 years ago
|
||
I've reproduced this issue in the latest Nightly 119.0a1 and Firefox 117.0 versions on Windows 10 x64.
Setting the component and waiting for the developer's opinion about it.
If this is not the correct component, please feel free to change it to a more appropriate one.
Description
•