[assist] Fix issue where search autocomplete dropdown is shown on page refresh in IE 11
showOnFocus: false,
minLength: 0,
limitWidthToInput: false,
- minWidth: 200
+ minWidth: 200,
+ disabled: true
}, options);
if (options.addCount) {
}
$element.hueAutocomplete(options);
+
+ // IE 11 trick to prevent it from being shown on page refresh
+ window.setTimeout(function () {
+ $element.hueAutocomplete("option", "disabled", false);
+ }, 1000);
}
};
