Fixed issue with filtered data persisting when dropdown closed
Closes #14401
This commit is contained in:
parent
9280fd4acd
commit
c5d026a0d3
1 changed files with 5 additions and 1 deletions
|
@ -167,7 +167,11 @@ class GitLabDropdown
|
|||
|
||||
hidden: =>
|
||||
if @options.filterable
|
||||
@dropdown.find(".dropdown-input-field").blur().val("")
|
||||
@dropdown
|
||||
.find(".dropdown-input-field")
|
||||
.blur()
|
||||
.val("")
|
||||
.trigger("keyup")
|
||||
|
||||
if @dropdown.find(".dropdown-toggle-page").length
|
||||
$('.dropdown-menu', @dropdown).removeClass PAGE_TWO_CLASS
|
||||
|
|
Loading…
Reference in a new issue