Skip to content

Commit

Permalink
fix for whitelist of numbers a(not strings)
Browse files Browse the repository at this point in the history
  • Loading branch information
yairEO committed Feb 13, 2021
1 parent c6fbe5d commit 153996e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tagify.js
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ Tagify.prototype = {
this.state.inputText = s

if( updateDOM )
this.DOM.input.innerHTML = escapeHTML(s);
this.DOM.input.innerHTML = escapeHTML(""+s);

if( !s && hideDropdown )
this.dropdown.hide.bind(this)
Expand Down

0 comments on commit 153996e

Please sign in to comment.