 
     onSelect: (ev, ui) =>
         @$el.blur().removeClass 'expanded'
-        @updateBadge(ev, ui)
+        @updateBadge ev, ui
 
     updateBadge: (ev, ui) =>
         @badge?.remove()

        @$el.addClass 'combobox'
        @small = options.small

        @autocompleteWidget = @$el.data('ui-autocomplete')
        @autocompleteWidget._renderItem = @renderItem

        isInput = @$el[0].nodeName.toLowerCase() is 'input'

        @value = => method.apply @$el, arguments

        unless @small
            caret = $ '<a class="combobox-caret">'
            caret.append $ '<span class="caret"></span>'
            caret.click @openMenu
            @$el.after caret

