fix autocomplete
This commit is contained in:
@@ -157,6 +157,14 @@ Espo.define('views/email/fields/email-address-varchar', ['views/fields/varchar',
|
||||
this.$input.val('');
|
||||
}.bind(this)
|
||||
});
|
||||
|
||||
this.once('render', function () {
|
||||
this.$input.autocomplete('dispose');
|
||||
}, this);
|
||||
|
||||
this.once('remove', function () {
|
||||
this.$input.autocomplete('dispose');
|
||||
}, this);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -68,6 +68,13 @@ Espo.define('views/email/fields/email-address', ['views/fields/base'], function
|
||||
this.$input.val(s.emailAddress);
|
||||
}.bind(this)
|
||||
});
|
||||
|
||||
this.once('render', function () {
|
||||
this.$input.autocomplete('dispose');
|
||||
}, this);
|
||||
this.once('remove', function () {
|
||||
this.$input.autocomplete('dispose');
|
||||
}, this);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user