[Dropdown] Escaped element gets duplicated #997
Labels
lang/javascript
Anything involving JavaScript
type/bug
Any issue which is a bug or PR which fixes a bug
Milestone
Bug Report
When I add a new element with characters which will be html escaped, it wil get duplicated under certain conditions.
I think this is intruduced with: f7c24ac
Steps to reproduce
Expected result
The new element should be added.
Actual result
The new element will be added twice.
Testcase
https://jsfiddle.net/yzvmobrw/1/
Screenshot (when possible)
Version
2.7.8
The text was updated successfully, but these errors were encountered: