mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
Properly handle case sensitive tags in taginfo suggestion in raw tag editor, fixes #9640
This commit is contained in:
@@ -11,6 +11,7 @@ import { localizer, t } from '../../core/localizer';
|
||||
import { utilArrayDifference, utilArrayIdentical } from '../../util/array';
|
||||
import { utilGetSetValue, utilNoAuto, utilRebind, utilTagDiff } from '../../util';
|
||||
import { uiTooltip } from '..';
|
||||
import { allowUpperCaseTagValues } from '../../osm/tags';
|
||||
|
||||
|
||||
export function uiSectionRawTagEditor(id, context) {
|
||||
@@ -437,7 +438,8 @@ export function uiSectionRawTagEditor(id, context) {
|
||||
}, function(err, data) {
|
||||
if (!err) callback(sort(value, data));
|
||||
});
|
||||
}));
|
||||
})
|
||||
.caseSensitive(allowUpperCaseTagValues.test(utilGetSetValue(key))));
|
||||
|
||||
|
||||
function sort(value, data) {
|
||||
|
||||
Reference in New Issue
Block a user