Page MenuHomePhabricator

Lookup: support readonly state
Open, MediumPublic2 Estimated Story Points

Description

The Lookup component is missing a readonly state even though it uses a text input under the hood. The readonly state should not only match TextInput, ChipInput, etc but also prevent users from interacting with the menu or menu items.

Technical notes:

Noting here that readonly styles and input behavior currently exist in Lookup because the readonly attribute gets passed to the internal TextInput. However, if there are menu items (such as the case of initial suggestions), the menu will open and be accessible even in the readonly state.

Event Timeline

CCiufo-WMF triaged this task as Medium priority.Jan 20 2025, 7:35 PM
CCiufo-WMF created this task.
CCiufo-WMF moved this task from Inbox to Needs Refinement on the Design-System-Team board.
CCiufo-WMF set the point value for this task to 2.