       defaultValue  : value
 
   removeHiddenInputItem:(name)->
-    @hiddenInputs[name].remove()
+    delete @hiddenInputs[name]
 
   addSelectedItem:(name,data)->
     {selectedItemClass} = @getOptions()

        @appendAutoCompletedItem()
      @addItemToSubmitQueue activeItem.item
      @rearrangeInputWidth()
      @emit 'ItemListChanged'
    else
      inputView.setValue ''
      @getSingleton("windowController").setKeyView null

          sibling.id isnt id
      JsPath.setAt form.getCustomData(), path, collection
    else
      @removeHiddenInputItem path
    @removeSelectedItemData data
    @selectedItemCounter--
    item.destroy()
    @emit 'ItemListChanged', @selectedItemCounter

  rearrangeInputWidth:()->
    # mainView = @getView()
