Filter on combobox value, not title (fixes #1836)

This commit is contained in:
John Firebaugh
2013-09-30 12:45:20 -07:00
parent 161a4e24a6
commit 37a77879c7
+1 -1
View File
@@ -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;