We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71a1f80 + b15f1fe commit 02b55c4Copy full SHA for 02b55c4
app/assets/javascripts/activeadmin_addons/all.js
@@ -447,7 +447,8 @@
447
width: width,
448
multiple: true,
449
tags: true,
450
- data: collection
+ data: collection,
451
+ tokenSeparators: $(el).data("tokenSeparators") || [ "," ]
452
};
453
if (!!isRelation) {
454
selectOptions.createTag = function() {
app/javascript/activeadmin_addons/inputs/tags.js
@@ -18,7 +18,7 @@ var initializer = function() {
18
19
20
data: collection,
21
- tokenSeparators: $(el).data('tokenSeparators'),
+ tokenSeparators: $(el).data('tokenSeparators') || [',']
22
23
24
0 commit comments