Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autofill-event doesn't fit with a submit button/input binding to the form state #28

Open
e-cloud opened this issue Mar 12, 2015 · 6 comments

Comments

@e-cloud
Copy link

e-cloud commented Mar 12, 2015

this poly fill doesn't fit with a submit button/input binding to the form state. unless you click on the page any point you want to trigger a digest (it seems the action trigger the browser to do some real filling), then the button become enable.
Test page with manual tests

@prettycode
Copy link

I also found this, @e-cloud. Do you have a workaround? I have to click somewhere on the page before Chrome fires the change event on the form input element. Chrome is triggering change on my <input type="email">, but not on my <input type="password"> until I click the page.

@e-cloud
Copy link
Author

e-cloud commented Mar 26, 2015

we hit the same issue. i haven't found a solution with my poor knowledge 😭

@ghost
Copy link

ghost commented May 29, 2015

Any workarounds for this issue yet?

@stevegal
Copy link

Chrome will not allow a password field to reveal its content in javascript until the user has interacted with the page. I've done a PR that would allow you to attach a listener on your button that you could listen for.

@LeonardoGentile
Copy link

+1 same issue for me

@stevegal
Copy link

try https://github.com/stevegal/autofill-event which is awaiting a merge request. Note you still can't get the contents of the password until the user has interacted with the form, but you can register and get notified if the password field has been filled in so you can respond as if it's filled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants