Open
Bug 1981733
Opened 1 year ago
Updated 1 year ago
`<input type=datetime-local>` with no `value` attribute does not fire oninput/change events on picker changes
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: saschanaz, Unassigned)
References
(Blocks 1 open bug)
Details
data:text/html,<input type=datetime-local id=input><script>input.oninput = console.log;input.onchange = console.log</script>
- Open the picker and pick a date
- Open the console and see there are events
Expected: Yes
Actual: No
| Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Well there was no change until you pick a time too right?
| Reporter | ||
Comment 2•1 year ago
•
|
||
Yes-ish, Chrome/Safari automatically gives the current time so each click gives input event. Perhaps that's a better behavior.
Updated•1 year ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•