diff --git a/dev/components/form/autocomplete.vue b/dev/components/form/autocomplete.vue index e5d13fddac4..f030de3699a 100644 --- a/dev/components/form/autocomplete.vue +++ b/dev/components/form/autocomplete.vue @@ -6,14 +6,14 @@ On desktop, Escape key closes the suggestions popover and you can navigate with keyboard arrow keys. Selection is made with either mouse/finger tap or by Enter key.

- +

Maximum of 2 results at a time

- + @@ -32,14 +32,14 @@

Static List

- +

Delimiter between results

- + diff --git a/src/vue-components/autocomplete/Autocomplete.vue b/src/vue-components/autocomplete/Autocomplete.vue index 9733b0a44c1..76dbf37c402 100644 --- a/src/vue-components/autocomplete/Autocomplete.vue +++ b/src/vue-components/autocomplete/Autocomplete.vue @@ -42,7 +42,7 @@ export default { type: Number, default: 6 }, - debounce: { + delay: { type: Number, default: 500 }, @@ -160,7 +160,7 @@ export default { }, __delayTrigger () { clearTimeout(this.timer) - this.timer = setTimeout(this.trigger, this.staticData ? 0 : this.debounce) + this.timer = setTimeout(this.trigger, this.staticData ? 0 : this.delay) }, __handleKeypress (e) { switch (e.keyCode || e.which) {