   BLUR_KEYCODES = [27, 40]
 
   constructor: (@dropdown, @options) ->
-    @input = @dropdown.find(".dropdown-input .dropdown-input-field")
+    {
+      @input
+    } = @options
 
     # Key events
     timeout = ""

      @remote.execute()

    if @options.filterable
      @dropdown.find(".dropdown-input-field").focus()

  hidden: =>
    if @options.filterable

    # Init filiterable
    if @options.filterable
      @filter = new GitLabDropdownFilter @dropdown,
        input: @filterInput
        remote: @options.filterRemote
        query: @options.data
        keys: @options.search.fields
