FIX: don't trigger autocomplete for tags after space is entered
This commit is contained in:
parent
a0cd54750c
commit
55179efdb9
|
@ -345,6 +345,9 @@ export default Ember.Component.extend({
|
|||
return obj.text;
|
||||
},
|
||||
dataSource(term) {
|
||||
if (term.match(/\s/)) {
|
||||
return null;
|
||||
}
|
||||
return searchCategoryTag(term, siteSettings);
|
||||
},
|
||||
triggerRule(textarea, opts) {
|
||||
|
|
Loading…
Reference in New Issue