Suggest uppercase target field values from taginfo

This commit is contained in:
Quincy Morgan
2019-09-13 08:45:51 -04:00
parent a13a77562e
commit d7bbbd0017
+1 -1
View File
@@ -299,7 +299,7 @@ export default {
// A few OSM keys expect values to contain uppercase values (see #3377).
// This is not an exhaustive list (e.g. `name` also has uppercase values)
// but these are the fields where taginfo value lookup is most useful.
var re = /network|taxon|genus|species|brand|grape_variety|royal_cypher|listed_status|booth|rating|stars|:output|_hours|_times|_ref|manufacturer|country/;
var re = /network|taxon|genus|species|brand|grape_variety|royal_cypher|listed_status|booth|rating|stars|:output|_hours|_times|_ref|manufacturer|country|target/;
var allowUpperCase = re.test(params.key);
var f = filterValues(allowUpperCase);