fixing autocomplete, adding no results and making it not clean the input if invalid value