   # @private
   #
   clearPseudoPlaceholder: =>
-    if @field.attr('value') is @field.attr('placeholder')
+    if @field.val() is @field.attr('placeholder')
       this.setValueAndToggleClass('')
 
       if @field.data('showPasswordObject')

      else
        this.setValueAndToggleClass(@field.attr('placeholder'))

  # This method clear the value and class of the field if its value is equal to the placeholder.
  #
  # @note It automatically replaces the field with a password field if needed.

    else
      @field.addClass('placeholder')

  # Copy 'placeholder' attribute to 'value' attribute if it's empty.
  #
  # @note If it's a password field this will also take care to initially
