Skip to content
Snippets Groups Projects
Commit 63a1b033 authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Clear suggestions when input length is less or equal 2 characters

parent 60d32504
No related branches found
No related tags found
1 merge request!30Studydocs autocomplete
......@@ -21,6 +21,8 @@ export default class studydocNew {
});
callback(Array.from(suggestions));
});
} else {
callback([]);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment