fixed issue where autocomplete does not update when dropdown input is changed