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 01c27aa + a259de7 commit 71a1f80Copy full SHA for 71a1f80
app/inputs/tags_input.rb
@@ -13,6 +13,7 @@ def load_control_attributes
13
load_data_attr(:model, value: model_name)
14
load_data_attr(:method, value: method)
15
load_data_attr(:width, default: "80%")
16
+ load_data_attr(:token_separators)
17
18
if active_record_select?
19
load_data_attr(:relation, value: true)
app/javascript/activeadmin_addons/inputs/tags.js
@@ -18,6 +18,7 @@ var initializer = function() {
multiple: true,
tags: true,
20
data: collection,
21
+ tokenSeparators: $(el).data('tokenSeparators'),
22
};
23
24
if (!!isRelation) {
0 commit comments