mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 08:17:30 +02:00
Filter on combobox value, not title (fixes #1836)
This commit is contained in:
@@ -5,7 +5,7 @@ d3.combobox = function() {
|
||||
|
||||
var fetcher = function(val, cb) {
|
||||
cb(data.filter(function(d) {
|
||||
return d.title
|
||||
return d.value
|
||||
.toString()
|
||||
.toLowerCase()
|
||||
.indexOf(val.toLowerCase()) !== -1;
|
||||
|
||||
Reference in New Issue
Block a user