settings for min and max digits in autocomplete