blazeworx / flagstrap

A lightwieght jQuery plugin for creating Bootstrap 3 compatible country select boxes with flags
http://blazeworx.github.io/flagstrap
MIT License
88 stars 62 forks source link

Broken tab index order the moment an item is selected #8

Open andrewabogado opened 8 years ago

andrewabogado commented 8 years ago

First off, thanks for this useful plugin.

Some users might be accustomed to using keyboards when filling out forms. At least that's the case for me.

To reproduce:

  1. User fills in the first input field.
  2. User reaches the flagstrap select dropdown, chooses an item by using the mouse pointer. Using up and down arrow key doesn't work here.
  3. User presses tab key again to move to the next input field. This is where the tab index order/flow got broken. As soon as the user presses the tab key, it starts at the very first of the tab index of the form.

As a feature request, a support for tab index and keyboard binding would be great.

blazeworx commented 8 years ago

Thank you for your feedback. I will take a look into this. :+1: