Mathachew / jquery-autotab

A jQuery plugin that provides auto tabbing and filtering on text fields in a form
http://autotab.mathachew.com/
366 stars 98 forks source link

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

Closed TronixGT closed 10 years ago

TronixGT commented 10 years ago

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 commented 10 years ago

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

Mathachew commented 10 years ago

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

TronixGT commented 10 years ago

Awesome. Thanks Mathachew

Mathachew commented 10 years ago

@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 commented 10 years ago

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