     @inputValue value unless @_inputValue == value
   
   @method '_inputValueChanged', (oldValue, newValue) ->
-    if @_loaded && @_inputElement.val != newValue
+    newValue = ST.trim newValue
+  
+    if @_loaded && ST.trim(@_inputElement.val()) != newValue
       if newValue == '' && !@_focused
         @_inputElement.css 'color', 'gray'
         @_inputElement.val @_placeholder

    else if result && result[0]
      @value result[0]
      @trigger 'valueChosen', result[0]
  
  @method 'chooseByText', (text) ->
    if text == 'new'

      @_inputValue = @_value.toFieldText()
      @_inputElement.val @_inputValue 
    else
      @inputValue ''
      @super()
    @_resultListElement.hide()
    @_hiding = false
