Merge pull request #2835 from betagouv/debounce_autocomplete
Autocomplete.js: debounce input
This commit is contained in:
commit
aabfe28a71
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ function source(url) {
|
|||
const openTag = `<div class="aa-suggestion ${mineClass}">`;
|
||||
return autocomplete.escapeHighlightedString(label, openTag, '</div>');
|
||||
}
|
||||
}
|
||||
},
|
||||
debounce: 300
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue