zhb пре 1 месец
родитељ
комит
6fa479264f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      uni_modules/uni-combox/components/uni-combox/uni-combox.vue

+ 1 - 1
uni_modules/uni-combox/components/uni-combox/uni-combox.vue

@@ -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() {