|
@@ -102,7 +102,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
filterCandidates() {
|
|
filterCandidates() {
|
|
|
return this.candidates.filter((item) => {
|
|
return this.candidates.filter((item) => {
|
|
|
- return item.toString().indexOf(this.inputVal) > -1
|
|
|
|
|
|
|
+ return item.toString().toLowerCase().includes(this.inputVal.toLowerCase())
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
filterCandidatesLength() {
|
|
filterCandidatesLength() {
|