Skip to content

Commit

Permalink
Fixed - #20023, [feature request] it is recommended to add a search i…
Browse files Browse the repository at this point in the history
…con for the select component when it is searchable
  • Loading branch information
diwakargupta1983 committed Aug 24, 2020
1 parent 04b5f0d commit 91dce99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/select/src/select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
<template slot="suffix">
<i v-show="!showClose" :class="['el-select__caret', 'el-input__icon', 'el-icon-' + iconClass]"></i>
<i v-if="showClose" class="el-select__caret el-input__icon el-icon-circle-close" @click="handleClearClick"></i>
<i v-if="showSearch" class="el-icon-search"></i>
</template>
</el-input>
<transition
Expand Down Expand Up @@ -282,6 +283,7 @@
remoteMethod: Function,
filterMethod: Function,
multiple: Boolean,
showSearch: Boolean,
multipleLimit: {
type: Number,
default: 0
Expand Down

0 comments on commit 91dce99

Please sign in to comment.