set minLength for autocomplete to 1