danielfarrell/bootstrap-combobox — pull request #81 by szymon-przybyl (2013-07-10 12:45:15+00:00)
Title: Add transfering ID from select to text field

**Why?**
Given the following:
Crop
...(options)...

As we know, Combobox will hide select and insert text field. So:
Crop

...(options)...

It would be nice then, when that text field would be focused after user clicks it's label. It can be achieved by transferring ID from select tag to Combobox text field, like in this pull request :)

I'm aware that transferring ID is not a small thing, like if somebody would like to use it to get select node, but in this case we could introduce flag option, like "transfer_id", defaults to true.

The idea appeared when I was making integration tests with use of JS (in Capybara) - Capybara is searching for fields using labels for="" reference, so Combobox was failing that test.

What do you think about it?