[Dropddow] Items are not updated when remove manually #2998
Labels
tag/next-release/nightly
Any issue which has a corresponding PR which has been merged and is available in the nightly build
type/bug
Any issue which is a bug or PR which fixes a bug
Milestone
Bug Report
When I add item in input value manually and I call
$('.ui.selection.dropdown').data().moduleDropdown.trigger.change();
it works. The items in dropdown are correctly added.But, when I remove item in input value manally and I call
$('.ui.selection.dropdown').data().moduleDropdown.trigger.change();
it doesn't work.Steps to reproduce
I have created JsFiddle to simply reproduce this bug.
<a />
elements<a />
element is always there.Expected result
When item is removed and
$('.ui.selection.dropdown').data().moduleDropdown.trigger.change();
is called, the<a />
element should be removed from the DOM.Actual result
The
<a />
element isn't removed from the DOM, so he is always display in dropdown.Testcase
Screenshot (if possible)
Version
2.x.x
The text was updated successfully, but these errors were encountered: