Closed Bug 1420126 Opened 7 years ago Closed 6 years ago

input:date value not changing on manual input and pressing return

Categories

(Core :: DOM: Core & HTML, defect, P2)

57 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1445207

People

(Reporter: jackoskater, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Attached image Result of the steps in JSFiddle (deleted) —
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20171112125346 Steps to reproduce: 1. focus an empty input:date; 2. enter a value manually by keyboard digits, f.e. "11/23/2017" in "en" locale; 3. press return key on keyboard; JSFiddle can be used for these steps: https://jsfiddle.net/Leznznh0/ Actual results: input:date value is empty string Expected results: input:date value should be "2017-11-23" Currently only when the input:date loses focus in this example, it updates the value. This is a problem when you have a (search)form you want to submit by pressing return on a focussed input:date field, the field will be submitted as empty string.
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Flags: needinfo?(jjong)
Priority: -- → P2
I'll take a look at this.
Assignee: nobody → jjong
Flags: needinfo?(jjong)
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee: jessi3py → nobody
Status: ASSIGNED → NEW

I cannot reproduce it.
I managed to get the bug which fixed this issue - bug 1445207 - by running mozregression tool.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Component: DOM: Core & HTML → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: