Page MenuHomePhabricator

OOUI\TextInputWidget should support 'autocomplete' parameter (to turn it off)
Closed, ResolvedPublic

Description

E.g. for TitleInputWidget or maybe other implementations, TextInputWidget should support the use of the 'autocomplete' (e.g. to turn it off when needed) attribute.

TitleInputWidget looks actually like:

Event Timeline

Florian created this task.Jul 6 2015, 10:19 PM
Florian raised the priority of this task from to Needs Triage.
Florian updated the task description. (Show Details)
Florian added a project: OOjs.
Florian added subscribers: Florian, Legoktm, matmarex.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 6 2015, 10:19 PM
Florian claimed this task.Jul 6 2015, 10:21 PM

Wait, what about LookupElement? You can mix it into stuff (like a TextInputWidget subclass) and get autocompletion.

Florian removed Florian as the assignee of this task.Jul 6 2015, 10:39 PM

Hmm? The task is to disable the browser autocomplete function :)

Oooh. Okay, I misread. :)

matmarex renamed this task from OOUI\TextInputWidget should support autocomplete to OOUI\TextInputWidget should support 'autocomplete' parameter (to turn it off).Jul 6 2015, 10:41 PM
matmarex updated the task description. (Show Details)
matmarex set Security to None.

Change 223197 had a related patch set uploaded (by Florianschmidtwelzow):
Allow to set the autocomplete attribute to TextInputWidget

https://gerrit.wikimedia.org/r/223197

Change 223199 had a related patch set uploaded (by Florianschmidtwelzow):
Disable browser provided autocomplete function in TitleInputWidget

https://gerrit.wikimedia.org/r/223199

Florian claimed this task.Jul 6 2015, 11:05 PM

Change 223197 merged by jenkins-bot:
TextInputWidget: Allow setting the HTML autocomplete attribute

https://gerrit.wikimedia.org/r/223197

Jdforrester-WMF closed this task as Resolved.Jul 7 2015, 6:09 PM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF edited projects, added OOjs-UI-next-release; removed Patch-For-Review.