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.
2 parents caec09e + f9cbf59 commit 4182bf7Copy full SHA for 4182bf7
lib/vue-simple-suggest.vue
@@ -135,6 +135,10 @@ export default {
135
type: String,
136
default: 'input',
137
validator: value => !!~Object.keys(modes).indexOf(value.toLowerCase())
138
+ },
139
+ preventHide: {
140
+ type: Boolean,
141
+ default: false
142
}
143
},
144
// Handle run-time mode changes (now working):
@@ -460,7 +464,8 @@ export default {
460
464
suggestionClick (suggestion, e) {
461
465
this.$emit('suggestion-click', suggestion, e)
462
466
this.select(suggestion)
463
- this.hideList()
467
+
468
+ if (!this.preventHide) this.hideList()
469
470
/// Ensure, that all needed flags are off before finishing the click.
471
this.isClicking = false
0 commit comments