Min chars for autocompletion

This commit is contained in:
Ludovic Stephan 2020-08-13 16:12:08 +02:00
parent 1518f4c703
commit 46893a8df5

View file

@ -36,7 +36,7 @@
// Affichage des résultats d'autocomplétion
$('input#search_autocomplete').yourlabsAutocomplete({
url: '{% url "kfet.account.create.autocomplete" %}',
minimumCharacters: 0,
minimumCharacters: 3,
id: 'search_autocomplete',
choiceSelector: 'li:has(a)',
container: $("#search_results"),