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.
@@ -382,7 +382,7 @@ const defaultOptions = [...allProps].reduce((prv, crr) => {
382
382
  options: { ...defaultOptions
383
383
  }
384
384
  });
385
- ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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&
385
+ ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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&
386
386
  var render = function render() {
387
387
  var _vm = this,
388
388
  _c = _vm._self._c;
@@ -3875,8 +3875,8 @@ function getDefault(key) {
3875
3875
  return countriesList;
3876
3876
  }
3877
3877
 
3878
- const userInput = this.searchQuery;
3879
- const cleanInput = userInput.replace(/[~`!@#$%^&*()+={}\[\];:\'\"<>.,\/\\\?-_]|^0{2,}/g, '');
3878
+ const userInput = this.searchQuery.toLowerCase();
3879
+ const cleanInput = userInput.replace(/[~`!@#$%^&*()+={}[\];:'"<>.,/\\?-_]/g, '');
3880
3880
  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));
3881
3881
  },
3882
3882