     # Prevent multiple ajax calls
     return if @loadingSuggestions
 
+    # Do not request suggestions if dropdown is disabled
     return if @badgePresent()
 
     @loadingSuggestions = true

  serializeState: ->
    {
      # Search Criteria
      project_id: @projectInputEl.val()
      group_id: @groupInputEl.val()
      search_code: @searchCodeInputEl.val()
      repository_ref: @repositoryInputEl.val()

      # _location isnt a input
      break if input is '_location'

      @getElement("##{input}").val('')

  removeLocationBadge: ->
