FIX: Bugs with autocomplete

It wasn't tearing itself down properly. It was swallowing events.
This commit is contained in:
Robin Ward
2015-04-06 14:04:22 -04:00
parent 2389bee24c
commit da9e2792eb
4 changed files with 41 additions and 14 deletions
@@ -57,6 +57,10 @@ export default TextField.extend({
});
}.on('didInsertElement'),
_removeAutocomplete: function() {
this.$().autocomplete('destroy');
}.on('willDestroyElement'),
// THIS IS A HUGE HACK TO SUPPORT CLEARING THE INPUT
_clearInput: function() {
if (arguments.length > 1) {