Open Bug 1323166 Opened 8 years ago Updated 2 years ago

<input… multiple> with <datalist> autocompletion only working for a single value

Categories

(Core :: Layout: Form Controls, defect)

defect

Tracking

()

Tracking Status
firefox75 --- affected
firefox76 --- affected
firefox77 --- affected

People

(Reporter: phryk, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file form.html
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Build ID: 20150801164356 Steps to reproduce: Use an <input> element with "multiple" option set and an association to a <datalist> element. Look at the attached HTML file for a simple example. Actual results: It should be possible to autocomplete multiple values in the <input> separated by commata. Expected results: Only a single value is autocompleted. As far as I can tell from the spec, there are no exceptions as to what <input> types should support the "multiple" option. You can try the attached HTML in Chrome, which seems to handle this correctly, but only for input type "email".
Status: UNCONFIRMED → NEW
Ever confirmed: true
I tested this issue with Firefox 56 and I can recreate the problem described by phryk. I am not sure if it is still happening in Firefox 57, but I assume so.

Still happening in Firefox 77.0b2 (64-bit), this works (only for emails) on chrome and opera (not tested opera). This would be really great to support (please support it for all input types that make sense, not just email).

Spec: https://www.w3.org/TR/html52/sec-forms.html#element-attrdef-input-multiple

Blocks: input-list
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: