emposha / FCBKcomplete

Jquery facebook like(fancy) multi-select
http://www.emposha.com
383 stars 115 forks source link

Handling of the tab key #9

Closed jstayton closed 13 years ago

jstayton commented 14 years ago

Hi Emposha,

In using FCBKcomplete personally and studying the behavior of others, I've noticed that a good amount of people will type something into the input field and then hit tab to continue on to the next input field. When this happens, the value remains in the input field as plain text, but not as a FCBKcomplete selected value. This is confusing particularly when 'newel' is enabled, as the user is expecting any value to work.

Do you think it's possible to have the tab key automatically select the first element when text has been entered? If no text has been entered, I think it's fine to let it continue on to the next input field, as it does now. And if there are no matching results (when 'newel' is disabled), how do you feel about clearing out the entered text? This way the user won't be confused by a value remaining in the input field.

Thanks for your consideration!

DaniilHarik commented 14 years ago

This feature would be great!

Thank You

emposha commented 13 years ago

added at 2.7.5 options -> addontab: true