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
- Open the attached sample.
- Open IE11 or Firefox and enable its auto-fill functionality to store user name and password in forms.
- Type something as username and password. (An alert box pops up while typing as the textChanged event is triggered)
- Click "Login".
- 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.
- Click twice on "User Name" text box. You'll see a drop down open.
- Select the username from the drop down.
Result
The textChanged event is not triggered.
Expected result
The textChanged event should be triggered.
Attachments
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.