-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Safari autocomplete not updating model #13291
Comments
Did this work in previous version of Safari? This is usually a sign of the browser not firing the change / input event in that specifc case. Can you test if a plain change / input listener is fired? |
I'm not sure if it worked in previous versions of Safari. I tried using ng-model-options="{ updateOn: 'blur' }" in my example above but it didn't work. |
Looks like a bug in Webkit to me. Can you open a bug report? |
See if this helps - https://github.com/tbosch/autofill-event |
+1 https://github.com/tbosch/autofill-event works, but this should be fixed in angular, not using a 3rd party from 2014 |
This appears to still be in an issue; it is tagged as needs more info--what additional info is needed? |
This is a known issue, and atm Safari refuses to fire an event on a normal autocomplete. This also affects other libraries: facebook/react#1159 |
When selecting items from the autofill menu in safari on an input field, the ng-model does not seem to update. When looking at the shadow DOM the autofill value is present though.
To enable the autofill the input tag must have an ID.
Tested on OXS 10.11.1 (El Capitan) - Safari 9.0.1 - Angular 1.4.7
http://jsfiddle.net/ro2je6ej/
Note the spell checker does seem to work.
The text was updated successfully, but these errors were encountered: