Created attachment 8875264 [details] datepicker.html The new datepicker widget for <input type=date> doesn't fire change events. I expected to get change events when I click on a date in the picker panel, and I expect to get change events when typing a date in the text field and then blurring the input. The value property of the input does show the edited value when polled (see attached example). I'm running Firefox Nightly: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:55.0) Gecko/20100101 Firefox/55.0
Works on <input type="time">, let me see what's going on.
Assignee: nobody → jjong
NS_FORM_INPUT_DATE missing in HTMLInputElement::MayFireChangeOnBlur() , fixing it now.  http://searchfox.org/mozilla-central/rev/d840ebd5858a61dbc1622487c1fab74ecf235e03/dom/html/HTMLInputElement.h#1612-1617
Created attachment 8876647 [details] [diff] [review] patch, v1. Hi Olli, details are in the patch comment. I've added tests only for changing value from the keyboard, since we do not have a way for testing picker yet.
Attachment #8876647 - Flags: review?(bugs)
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e7b28fe42f9109b912eb4c53c55f53fef3d7be82&group_state=expanded There some failures but seems not related to this patch.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/20882c387b4e Fire change/input events after selecting a date/time from picker. r=smaug
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
status-firefox56: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
on removing the value in an input of type date by clicking the (x) will not yet fire the change-event v59.0.2 & v60.0b11 Developer
I´ll disable my account, because i don´t want to publish my mail for other users/bots, very disappointing. hope the comment remains.
You need to log in before you can comment on or make changes to this bug.