Bootstrap tagsinput add tag with id and value

后端 未结 5 1287
轮回少年
轮回少年 2021-01-01 23:58

I am using Bootstrap Tags Input

I am trying to add tags dynamically.

$(\'.div-tag\').tagsinput(\'add\', \'vino\');

The above code

5条回答
  •  梦毁少年i
    2021-01-02 00:41

    This library is broken, don't bother. The accepted answer doesn't work on version 0.8. After 1h of trying several things, I suggest to switch to another library, I used tagEditor , where everything worked on the 1st try.

提交回复
热议问题