Closed Bug 1719007 Opened 3 years ago Closed 3 years ago

<input type=time> does not fire "input" event during input

Categories

(Core :: Layout: Form Controls, defect)

Firefox 90
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: xuerian, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

data:text/html,<input type="time" oninput="alert('input')">

Actual results:

"input" event only fired on, effectively, "change"

Expected results:

"Input" event/alert fires as values are entered in each field

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Layout: Form Controls
Product: Firefox → Core

I think this is also invalid for the same reason as bug 1719010. The page can't observe the partial value. However I agree bug 1719011 is worth fixing.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID

I certainly can't claim it doesn't follow spec, but it does lay the burden for completely functional inputs squarely on the browser implementer.

And after a week of trying to come to a good solution for my users and inputting dates with optional times across ios/android/desktop, I can't say that's going too well so far on the whole, but I'm very glad to see movement on bug 1719011, it should at least get rid of the roughest edge.

Thank you for addressing these bugs in one way or another.

You need to log in before you can comment on or make changes to this bug.