Bug #4398
Typeahead: mouse click in a prefilled input opens a single item dropdown with the current value - click on it seems to set the value, not the key.
Start date:
05.09.2017
Due date:
17.12.2019 (about 14 months late)
% Done:
0%
Estimated time:
Discuss:
Description
Wird in einem typeahead input (min. bei pedantic) mit der maus reingeklickt, und war das vorher schonmal geladen worden und es existiert ein default wert, dann geht sofort ein dropdown mit einem Element auf. Das ist genau der aktuell geladene Value (nicht der Key). Klickst man auf die aufgklappte '1-Value-Liste, wird der Wert uebernommen. Das scheint bei key/value Paaren fatal zu sein, den nun ist der Value im Input und nicht der Key.
- Aufgefallen bei GRC mit LDAP typeahead bei Feldern die den UZH shortname speichern (=key), aber 'Vorname, Nachname (Email)' anzeigen (Value).
- Evtl. gibt's hier etwas zum einstellen: https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#options
- autocomplete="off" hat nicht geholfen.
Related issues
Updated by Carsten Rose over 3 years ago
- Related to Bug #4457: typeahead: pressing return to select an item, saves the form and closes the form. added
Updated by Benjamin Baer over 1 year ago
- Due date set to 04.10.2019
- Priority changed from High to Normal