-
Notifications
You must be signed in to change notification settings - Fork 1
Add a feed: Unexpected auto-advance text on location lists #102
Comments
Adding to this, the prepopulated states may not be correct. I added a feed for Palermo, Italy and picked Italy in the country list. The only option in the States drop-down list is Livorno. However, Palermo is in Sicily and the province of Palermo. |
Country and region lists come from Who's on First, so we can follow up about Italian provinces with @thisisaaronland. Looks like WOF has Italian provinces but they're not making it into the meta dumps that we fetch to manually bake into the Feed Registry front-end. |
Ah... I see what the problem is and the only question is how best to set things up to accommodate your needs. Specifically many (most) of the regions in Italy are parented by "macroregions". For example, Bologna [1] is parented by Emilia-Romagna [2] which in turn is parented by Italy. A quick and easy way to deal with this problem would be to key off the [1] https://whosonfirst.mapzen.com/spelunker/id/85685351/ |
following Aaron's advice at #102 (comment) resolves #128
Changing this issue back to being only about the autocomplete behavior of the list. |
When typing into the operator location box for country and state, the autocomplete/auto-advance scrolls the list in an unexpected way. It looks for the first matching text, rather than the first letter of the name. I found this when typing "It" for Italy and it scrolled to Eritrea because it is the first word with "it" somewhere in it.
Type a G and Afghanistan is highlighted. If you've already scrolled down the list, then the results are a little weirder.
Minor issue, but perhaps there is another reusable control we can use out there for this....
The text was updated successfully, but these errors were encountered: