When you go to change the country it jumps in the country list to the selection in a not friendly way
Like we do for the employer field https://doc.wikimedia.org/codex/latest/components/demos/lookup.html#lookup
| Cstone | |
| Oct 6 2026, 5:30 AM |
| F107269239: image.png | |
| Oct 9 2026, 7:53 PM |
| F107269234: image.png | |
| Oct 9 2026, 7:53 PM |
When you go to change the country it jumps in the country list to the selection in a not friendly way
Like we do for the employer field https://doc.wikimedia.org/codex/latest/components/demos/lookup.html#lookup
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | Feature | None | T417039 [Epic] ComboWiki - Phase 1 | ||
| Resolved | AnnWF | T440262 Combowiki: Better UX for the country drop down |
Ramon replied for the https://doc.wikimedia.org/codex/latest/components/demos/combobox.html, but seems like we should use predefined list, so lookup is suitable here.
Change #1352574 had a related patch set uploaded (by Wfan; author: Wfan):
[mediawiki/extensions/DonationInterface@master] Combowiki: Better UX for the country drop down
These screenshots supplement a comment in the patch:
Step 1: first page load sets donation.country to US
Step 2: after clearing the lookup field value (not selecting another country yet) automatically changes donation.country to null
Change #1352574 merged by jenkins-bot:
[mediawiki/extensions/DonationInterface@master] Combowiki: Better UX for the country drop down
Change #1354097 had a related patch set uploaded (by Wfan; author: Wfan):
[mediawiki/extensions/DonationInterface@master] Only update country value if not null
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DonationInterface/+/1354097 make sense to not set country to null, I have this patch to update only when value select update country, plus @RLopez-WMF Do you like this codex lookup or select, we are using select for current donate wiki, so maybe Laura is make a good point that we can still use select since input introduce some confuse here when clear the value.
Change #1354097 merged by jenkins-bot:
[mediawiki/extensions/DonationInterface@master] Only update country value if not null