mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-25 11:10:32 +03:00
+1
-1
@@ -391,7 +391,7 @@ if the option should be displayed.
|
||||
filterBy: {
|
||||
type: Function,
|
||||
default(option, label, search) {
|
||||
return (label | "").toLowerCase().indexOf(search.toLowerCase()) > -1;
|
||||
return (label || '').toLowerCase().indexOf(search.toLowerCase()) > -1
|
||||
}
|
||||
},
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user