Closed balabp closed 2 years ago
did you have any error in console?
below is the error -
ok first try to define taginputs field like:
elt = $('.example_objects_as_tags > > input');
elt.tagsinput({
itemValue: 'value',
itemText: 'text',
});
and now try something like this
elt.tagsinput('add', { "value": 1 , "text": "Amsterdam" });
add/remove method when using javascript to add tags is not working. It creates a new input tag every time