We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5b19f commit c0cc254Copy full SHA for c0cc254
lib/vue-simple-suggest.vue
@@ -390,7 +390,7 @@ export default {
390
})
391
},
392
select(item) {
393
- if (this.selected !== item || (this.nullableSelect && !item)) {
+ if ((item && this.selected !== item) || (this.nullableSelect && !item)) {
394
this.selected = item
395
this.$emit('update:modelSelect', item)
396
// For backward compatibility:
0 commit comments