Restricting autocomplete to set only values from list
A list of market is being displayed with an autocomplete. User types in key to get the list having that value. If random key is inputed, for example = abc , the list has no content. Is there any way to restrict autocomplete from accepting "abc" ?