tbosch / autofill-event

A polyfill to fire a change event when the browser auto fills form fields
MIT License
383 stars 51 forks source link

Second selecting of the same field from autofill dropdown doesnt update ng-model #36

Open kallemakynen opened 7 years ago

kallemakynen commented 7 years ago

Found with Safari 9.0.3

Steps to reproduce:

1) Have an email address in cache for issue's sake we have "test-email@gmail.com"

2) Type "tes" to input field

3) Auto-fill dropdown pops up showing "test-email@gmail.com"

4) Select "test-email@gmail.com" from the dropdown

5) Clear the input field

6) repeat steps 2 and 3

Expected: same functionality as on first select

Actual result: Ng-model isn't updated