diff --git a/README.md b/README.md index 5389f0a3..94a7e688 100644 --- a/README.md +++ b/README.md @@ -93,3 +93,5 @@ If you want to contribute us or in case you are haiving any doubt. [MIT](http://opensource.org/licenses/MIT) Copyright (c) 2016-present, ViewDesign + + diff --git a/src/components/select/option.vue b/src/components/select/option.vue index ced6905f..dab8ba5d 100644 --- a/src/components/select/option.vue +++ b/src/components/select/option.vue @@ -102,7 +102,7 @@ const slotOptionsMap = SelectInstance.slotOptionsMap; const { props } = slotOptionsMap.get(this.value) || { props: {} }; const label = this.label || this.$el && this.$el.textContent; - let filterOption = (label || props.value || '').toLowerCase(); + let filterOption = (label + props.value || '').toLowerCase(); if (filterByLabel) { filterOption = (label || '').toLowerCase(); }