Add back the choices, change the separator options

This commit is contained in:
Robin Ward
2014-06-04 12:51:21 -04:00
parent 16b1379b01
commit 8e7f0aa268
2 changed files with 10 additions and 1 deletions
@@ -17,7 +17,7 @@ Discourse.ListSettingComponent = Ember.Component.extend({
this.$("input").select2({
multiple: false,
separator: "|",
tokenSeparators: [",", " ", "|"],
tokenSeparators: ["|"],
tags : this.get("choices") || [],
width: 'off'
}).on("change", function(obj) {