Add support to control autocomplete minLength