bootstrap-touchspin icon indicating copy to clipboard operation
bootstrap-touchspin copied to clipboard

Option to exclude buttons from tabbing

Open smerik opened this issue 11 years ago • 4 comments
trafficstars

It would be nice to have an option to exclude the up & down button from tabbing so users who are filling forms manually can speed up when tabbing from field to field.

This of course can be done by adding the attribute tabindex="-1" to the button element.

smerik avatar Jun 23 '14 13:06 smerik

The same problem at me. I have solved it by a workaround, I have added

tabindex="-1"

to all occurrences of

<button

in javascript source code.

I know, it's not good solution, but sufficient for me and for now.

budik21 avatar Mar 08 '15 09:03 budik21

Updated my 'jquery.bootstrap-touchspin.js' with the tabindex idea, perfect solution. As these buttons are 'touch spinners', they should have tabindex="-1" as default IMHO.

TravisHiscock avatar Apr 24 '17 10:04 TravisHiscock

like budik21's solution, but more targeted:

$('.bootstrap-touchspin-down,.bootstrap-touchspin-up').attr('tabindex', -1);

jbuckshin avatar May 29 '18 15:05 jbuckshin

Would be good if there would be an option on TouchSpin about it

seldimi avatar Jun 22 '19 08:06 seldimi

I agree that tabindex should be disabled by default. Done in v4.7.3

istvan-ujjmeszaros avatar May 25 '23 02:05 istvan-ujjmeszaros