Skip to content

Commit 2adaa02

Browse files
author
Damian Dulisz
committed
Fix #58 and #59
1 parent fdf1c8d commit 2adaa02

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/Multiselect.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
type="text"
2525
autocomplete="off"
2626
:placeholder="placeholder"
27-
v-el:search="v-el:search"
27+
v-el:search
2828
v-if="searchable"
2929
v-model="search"
3030
@focus.prevent="activate()"
@@ -60,7 +60,7 @@
6060
</span>
6161
</li>
6262
</template>
63-
<li v-show="filteredOptions.length === 0 && search.length">
63+
<li v-show="filteredOptions.length === 0 && search">
6464
<span class="multiselect__option">
6565
<slot name="noResult">No elements found. Consider changing the search query.</slot>
6666
</span>

lib/vue-multiselect.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/vue-multiselect.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-multiselect",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "Multiselect component for vue.js",
55
"author": "Damian Dulisz <damian.dulisz@monterail.com>",
66
"private": false,

0 commit comments

Comments
 (0)