Pass proper input element

This commit is contained in:
Alfredo Sumaran 2016-03-23 19:43:57 -05:00
parent 0dff7b4444
commit 8f2587c2ee

View file

@ -136,11 +136,8 @@ class GitLabDropdown
# Init filterable # Init filterable
if @options.filterable if @options.filterable
@input = @dropdown.find('.dropdown-input .dropdown-input-field') @filter = new GitLabDropdownFilter @filterInput,
@filter = new GitLabDropdownFilter @input,
filterInputBlur: @filterInputBlur filterInputBlur: @filterInputBlur
input: @filterInput
remote: @options.filterRemote remote: @options.filterRemote
query: @options.data query: @options.data
keys: @options.search.fields keys: @options.search.fields