2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-22 10:30:34 +03:00

docs: fix filterBy definition

Fixes #1327
This commit is contained in:
Jeff
2020-12-18 11:41:31 -08:00
parent 94f7125fc9
commit f947e253c5
+1 -1
View File
@@ -391,7 +391,7 @@ if the option should be displayed.
filterBy: { filterBy: {
type: Function, type: Function,
default(option, label, search) { default(option, label, search) {
return (label | "").toLowerCase().indexOf(search.toLowerCase()) > -1; return (label || '').toLowerCase().indexOf(search.toLowerCase()) > -1
} }
}, },
``` ```