Page MenuHomePhabricator

CdxLookup: update:selected event is triggered every time that the input value changes
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue

  1. Go to Wikifunctions Special:CreateObject page: https://wikifunctions.beta.wmflabs.org/wiki/Special:CreateObject
  2. In the "Contents" section, in the type selector, search for something (E.g. typing "text" or "lang" should render results)

What happens?

  • The input doesn't appear and the user is focused out of the field

What should have happened instead?

  • The user should be able to input text
  • A dropdown with options is displayed and the user should be able to pick

Demo video
https://www.loom.com/share/566d9facf5da42dca0eb889c8e10969c?sid=dffd33a2-3fd5-4411-abc1-53bd3e133f04

Software version

  • Codex 1.12.0

Event Timeline

Change #1071614 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[design/codex@main] Lookup: Only clear selection on input if there is one

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

Change #1071614 merged by jenkins-bot:

[design/codex@main] Lookup: Only clear selection on input if there is one

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

Change #1073562 had a related patch set uploaded (by LWatson; author: LWatson):

[mediawiki/core@master] Update Codex from v1.12.0 to v1.13.0

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

@gengh FYI this has been resolve and is part of Codex 1.13.0, which was merged into core yesterday!