Triggering change when input is changed in autocomplete