Open Bug 1763306 Opened 4 years ago Updated 3 years ago

Discrepancy between input and textarea with autocomplete

Categories

(Toolkit :: Form Manager, defect, P3)

Firefox 98
defect

Tracking

()

UNCONFIRMED

People

(Reporter: tigercubjewel, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

Hi team. I have a form with an input and a textarea, both of which have autocomplete="on". (For completeness this is an Angular app, but I can observe the problem in other contexts, e.g. this site: https://www.dofactory.com/html/textarea/autocomplete)

Actual results:

Given I have previously submitted a form with values in the input and the textarea,
When I return to the page and focus the input, the previous values of the input appear in a dropdown,
But this does not happen for the textarea autocomplete.

Expected results:

I expect both inputs and textareas with autocomplete="on" to suggest their previous values. Does the documentation need to be updated if autocomplete is a valid attribute for a textarea but still provides no functionality?

The MDN describes this behaviour:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete

Thanks for your time! Will gladly provide any more information that could be helpful.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Forms' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Forms
Product: Firefox → Core
Component: DOM: Forms → Autocomplete
Product: Core → Toolkit

The severity field is not set for this bug.
:mak, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mak)
Component: Autocomplete → Form Manager
Flags: needinfo?(mak)
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: