Skip to content

Commit 070b79b

Browse files
committed
default should actually be [',']
1 parent 15fc3f0 commit 070b79b

File tree

1 file changed

+1
-1
lines changed
  • app/javascript/activeadmin_addons/inputs

1 file changed

+1
-1
lines changed

app/javascript/activeadmin_addons/inputs/tags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var initializer = function() {
1818
multiple: true,
1919
tags: true,
2020
data: collection,
21-
tokenSeparators: $(el).data('tokenSeparators')
21+
tokenSeparators: $(el).data('tokenSeparators') || [',']
2222
};
2323

2424
if (!!isRelation) {

0 commit comments

Comments
 (0)