-
Notifications
You must be signed in to change notification settings - Fork 35
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
Doesn't work on input file? #24
Comments
Hello @adamkarb! I've not designed this module to work with Thanks. |
I was hoping to test against whether or not the form has been changed, and that would prevent the user from leaving the page without saving changes or confirming exit. It is just a problem since there are input files in the form as well. |
I see. I will try to come up with the solution. Will get back to you soon. Thanks for your report. |
I'm sorry Adam, but it looks like There are two options for you here:
I will try to look into this issue in the future, but I couldn't give it a high priority right now. |
Yea I hacked my way through it. I'm no javascript expert but it would be cool if angular had some built in way to work around it. |
Hey! I'm glad to hear that you've managed to overcome this limitation. It would be great if you will be able to share your solution here with others in case someone else in the future will stumble upon this ) |
I watched them via the jQuery .change() method. If they changed, I set a variable to true that was checked later on before the user changes states. |
I was hoping this would work on a form I have that also has an input=file tag, but it does not seem to track that input. All other input types are working. Let me know if I am doing something incorrectly please.
Thanks
The text was updated successfully, but these errors were encountered: