     @unhighlightCurrentItem()
     $(document).off 'keydown.searchable_select'
     @isOpen = false
+
+    if !@input.val()
+      @updateAttributeValueName()
+      @input.val @attribute.valueName
 
   onKeyUp: =>
     return if @input.val().trim() isnt ''

            html += @renderSubmenus option.children
    html

  hasSubmenu: (options) ->
    return false if !options
    for option in options

    @render()

  render: ->
    @updateAttributeValueName()

    @html App.view('generic/searchable_select')
      attribute: @attribute
