Page MenuHomePhabricator

Lookup: allow showing initial menu items on focus before typing
Closed, DuplicatePublicFeature

Description

Feature summary (what you would like to be able to do and where):
Allow for adding an initial set of MenuItems to a Lookup that is shown when the Lookup input receives focus before the user types anything.

Use case:
On Wikidata, when adding a new Property, an extension called "PropertySuggester" is used to suggest an initial set of Properties to add based on the already existing Data for that Entity. This happens when the property selector widget is focused, before the first character is typed.

Benefits:
It would be nice to be able to add initial menu items in a straightforward way.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@Celenduin is this perhaps a use case for a Combobox, where you show an initial list of items and then filter the items once there is text in the input?

Volker_E renamed this task from Lookup should allow showing initial menu items on focus before typing to Lookup: allow showing initial menu items on focus before typing.Oct 13 2023, 5:25 AM
Volker_E moved this task from Backlog to Proposed Component Updates on the Codex board.