vue-tel-input 5.15.0 → 5.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -372,7 +372,7 @@ const defaultOptions = [...allProps].reduce((prv, crr) => {
372
372
  options: { ...defaultOptions
373
373
  }
374
374
  });
375
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/vue-tel-input.vue?vue&type=template&id=2da290d5&
375
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/vue-tel-input.vue?vue&type=template&id=91e0a6c0&
376
376
  var render = function render() {
377
377
  var _vm = this,
378
378
  _c = _vm._self._c;
@@ -3865,8 +3865,8 @@ function getDefault(key) {
3865
3865
  return countriesList;
3866
3866
  }
3867
3867
 
3868
- const userInput = this.searchQuery;
3869
- const cleanInput = userInput.replace(/[~`!@#$%^&*()+={}\[\];:\'\"<>.,\/\\\?-_]|^0{2,}/g, '');
3868
+ const userInput = this.searchQuery.toLowerCase();
3869
+ const cleanInput = userInput.replace(/[~`!@#$%^&*()+={}[\];:'"<>.,/\\?-_]/g, '');
3870
3870
  return countriesList.filter(c => new RegExp(cleanInput, 'i').test(c.name) || new RegExp(cleanInput, 'i').test(c.iso2) || new RegExp(cleanInput, 'i').test(c.dialCode));
3871
3871
  },
3872
3872