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

Data in disabled fields is being removed with backspace even though focus is not on element #47

Closed
TronixGT opened this issue Jul 10, 2014 · 5 comments
Labels

Comments

@TronixGT
Copy link

I've just recently upgraded from one of your earlier versions to the latest version and I noticed a problem. If you have disabled fields on your form that contain data and you are backspacing through the form it stops tabbing when there is a disabled field, and then starts deleting the characters inside the disabled field even when the field is not in focus. I would love to disable backspacing into another field as my users hate that part of the function but love the autotab forward. I could live with just a solution that does not remove data in disabled fields though. Any thoughts?

@TronixGT
Copy link
Author

Here's a quick example: http://jsfiddle.net/TronixGT/B9hJ9/
I also noticed that it will not autotab forward past a disabled field either.

@TronixGT TronixGT reopened this Jul 10, 2014
@Mathachew
Copy link
Owner

Sorry for the delay @TronixGT, and thanks for bringing it to my attention. I'll look into this and have a fix soon.

@Mathachew Mathachew added the bug label Jul 18, 2014
@TronixGT
Copy link
Author

Awesome. Thanks Mathachew

@Mathachew
Copy link
Owner

@TronixGT I have a fix in place but am delaying releasing it in favor of a 1.7 release, which will support other form fields. I hope to have something out tonight.

Mathachew added a commit that referenced this issue Jul 26, 2014
…selected elements (#14)

Added option to auto tab on single value select lists when selecting a value
Added global methods to setup, remove and restore Autotab
Elements passed to Autotab now filter out hidden form fields
Fixed an issue with tabbing to a previous field that is disabled, resulting in the value being modified (#47)
Fixed an issue with saving a custom data value when it could be evaluated to a false negative
Changed minifier since samqode is offline
Cleaned up demo
@Mathachew
Copy link
Owner

@TronixGT 1.7.0 is out and addresses this issue. Thanks again.

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

No branches or pull requests

2 participants