simple-tags
simple-tags copied to clipboard
Incorrect tag when `data-simple-tags` is empty
The problem in this line is when data-simple-tags
is empty, then the tag appears as an x
- the correct output should be empty. One should check sth like dataAttribute.indexOf(',') !== -1 ? dataAttribute.split(',') : []
.
Mihail.