Last modified: 2012-07-31 17:24:43 UTC
As the user types a language in the search box, when there is a prefix matching with a language, the remaining part of the language may be shown to provide better feedback to the user about the current selection. At the UI level, this can be achieved by overlapping two input fields (real input and suggestion). Regarding keyboard support: - If the user hits enter, the language is selected. - If the user hits tab, the input text becomes the one suggested.
I created an initial version that illustrates the overlapping of input forms and use. Minimal logic has been added so that it works when typing "Es". The patch set is available at https://gerrit.wikimedia.org/r/#/c/16660/
https://gerrit.wikimedia.org/r/#/c/16660/ merged