     @invisiblePart.text('')
 
   selectItem: (event) ->
+    return if !event.currentTarget.textContent
     @input.val event.currentTarget.textContent.trim()
     @input.trigger('change')
     @shadowInput.val event.currentTarget.getAttribute('data-value')

      @input.val valueName
      @shadowInput.val value

    @currentItem = null

    @input.trigger('change')
    @shadowInput.trigger('change')
    @toggle()

  onBlur: ->


  navigateIn: (event) ->
    event.stopPropagation()
    @selectItem(event)
    @navigateDepth(1)

  navigateOut: (event) ->
