diff --git a/app/assets/javascripts/discourse/components/tag-chooser.js.es6 b/app/assets/javascripts/discourse/components/tag-chooser.js.es6 index a4c97326b22..ce99050e5fe 100644 --- a/app/assets/javascripts/discourse/components/tag-chooser.js.es6 +++ b/app/assets/javascripts/discourse/components/tag-chooser.js.es6 @@ -78,7 +78,7 @@ export default Ember.TextField.extend({ term = term.replace(filterRegexp, '').trim(); // No empty terms, make sure the user has permission to create the tag - if (!term.length || !this.get('allowCreate')) return; + if (!term.length || !self.get('allowCreate')) return; if ($(data).filter(function() { return this.text.localeCompare(term) === 0;