Page MenuHomePhabricator

Don't suggest initial uppercase in mobile termbox
Closed, ResolvedPublic

Description

When I enter a new label/description/alias (or edit the beginning of an existing one) on mobile using the new termbox, the keyboard automatically selects capital letters:

Screenshot_20200106-105408.png (1×720 px, 82 KB)

Most of the time, this is not correct, especially for descriptions. There's some HTML attribute you can add on the input to prevent this (I don't remember the name right now, but I used it in Wikidata Lexeme Forms); we should use it.

Event Timeline

There's some HTML attribute you can add on the input to prevent this (I don't remember the name right now, but I used it in Wikidata Lexeme Forms); we should use it.

Found it, and you can even put it on the whole form: R2362:e937ff58393e: Add autocapitalize="off" on form

Change 583417 had a related patch set uploaded (by Lucas Werkmeister; owner: Lucas Werkmeister):
[wikibase/termbox@master] Add autocapitalize="off" to inputs

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

Change 583417 merged by jenkins-bot:
[wikibase/termbox@master] Add autocapitalize="off" to inputs

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

Change 592394 had a related patch set uploaded (by Hoo man; owner: Hoo man):
[mediawiki/extensions/Wikibase@master] wikibase-termbox: Update submodule

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

Change 592394 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] wikibase-termbox: Update submodule

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

There's some HTML attribute you can add on the input to prevent this (I don't remember the name right now, but I used it in Wikidata Lexeme Forms); we should use it.

Found it, and you can even put it on the whole form: R2362:e937ff58393e: Add autocapitalize="off" on form

A pretty late note: it’s not quite well supported. :( For example, the Firefox-Gboard combination pictured in the description still capitalizes.