IgniteUI / ignite-ui

Ignite UI for jQuery by Infragistics

Home Page:https://bit.ly/2kuu1fT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto-fill does not update igTextEditor

alexalex972 opened this issue · comments

Description

The textChanged event should trigger when form's autocomplete is on.

Steps to reproduce

  1. Open the attached sample.
  2. Open IE11 or Firefox and enable its auto-fill functionality to store user name and password in forms.
  3. Type something as username and password. (An alert box pops up while typing as the textChanged event is triggered)
  4. Click "Login".
  5. You'll see a prompt window which asks you whether or not you would like to store the user name and the password. Answer "Yes" to it.
  6. Click twice on "User Name" text box. You'll see a drop down open.
  7. Select the username from the drop down.

Result

The textChanged event is not triggered.

Expected result

The textChanged event should be triggered.

Attachments

autofill-sample.zip

Updated title - auto-fill should not only trigger textChanged but also valueChanged and most importantly update the actual value of the editor.

As noted in #1811 (comment) there's an edge case in where the fix won't apply a 100%:

  • In Firefox
  • There are multiple passwords saved for the domain so there is a drop down (otherwise FF will auto-fill both fields immediately)
  • textChanged will not be triggered only for the first field.
  • both fields should trigger valueChanged and correctly update their state

This seems pretty minor and a fix would require substantial changes that don't warrant the risk at this point.