Page MenuHomePhabricator

ZObjectSelector: Fix clearing strategy when option isn't selected and user focuses out
Open, In Progress, MediumPublicBUG REPORT

Description

Description

Steps to reproduce:

  1. Go to https://wikifunctions.beta.wmflabs.org/wiki/Special:CreateObject
  2. In the "type" selector, type String
  3. Instead of selecting the option "String", simply focus out

Observed behavior:

  • The field looks like a value is selected

Expected behavior (Acceptance criteria):

  • If the written value matches exactly an available option, select it
  • If the written value does not match any available option, clear the field

Completion checklist

Event Timeline

Jdforrester-WMF changed the task status from Open to In Progress.Nov 30 2023, 5:38 PM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF moved this task from To triage to In Progress on the Abstract Wikipedia team board.

Change #1018758 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Fix zObjectSelector clear strategy

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

Change #1018758 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Fix zObjectSelector clear strategy

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

Change #1019688 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] [WIP] Fix ZObjectSelector clear strategy

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