taggingJS icon indicating copy to clipboard operation
taggingJS copied to clipboard

taggingJS throws an error while typing . AKA fullstop

Open akshayshrivastav opened this issue 5 years ago • 0 comments

I'm using below code to initialise the taaggingJS

var myOptions =
        {
            "no-duplicate": true,
            "no-duplicate-callback": null,
            "type-zone-class": "type-zone",
            "tag-box-class": "tagging",
            "forbidden-chars": ["!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "-", "_", "=", "+", "`", "~", "[", "]", "{", "}", "|", ";", ":", "'", "<", ">", ",", ".", "/", "?"],
            "forbidden-chars-callback": null
            // chars not included ", 
        };

$("#post_tags").tagging(myOptions);

Whenever i am typing . (fullstop) in the div, it responds with an error stating

Uncaught TypeError: b is not a function at n.throwError (tagging.min.js:1)

Not able to figure out why? Could anyone help with this issue?

akshayshrivastav avatar Mar 04 '20 06:03 akshayshrivastav