zhb hace 1 mes
padre
commit
6fa479264f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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() {
 			return this.candidates.filter((item) => {
-				return item.toString().indexOf(this.inputVal) > -1
+				return item.toString().toLowerCase().includes(this.inputVal.toLowerCase())
 			})
 		},
 		filterCandidatesLength() {