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

Update value only when touched. #2

Closed
christianmagill opened this issue May 20, 2018 · 2 comments
Closed

Update value only when touched. #2

christianmagill opened this issue May 20, 2018 · 2 comments

Comments

@christianmagill
Copy link
Contributor

Awesome plugin! Much thanks for putting this together.

Is there anyway to avoid updating the field's value, if the user hasn't touched the field's pad?

I need to compare field values to see what a user has edited in an application I am writing.

Unfortunately, the current plugin updates the value even if the pad is never touched, and if the user's browser loads the field at a different size, the value ends up being different as well.

@christianmagill
Copy link
Contributor Author

Here's a fix #3

@JamesParkNINJA
Copy link
Owner

Fantastic, thanks @christianmagill
Barely able to look at stuff just now!

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

No branches or pull requests

2 participants