todc / todc-select2

Google-themed fork of Select2. Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
http://todc.github.com/todc-select2/
Other
112 stars 17 forks source link

Select2 in Tabs of Bootstap Modal doing AJAX Call , not working as expected #8

Closed venblee closed 11 years ago

venblee commented 11 years ago

I have Select2 inside a Bootstrap Tab , inside a Bootstrap Modal (Popup). Everything Looks and loads fine in the modal , the Select2 only accept one character and will display list that has the one character in them as expected , But when I click on it , to enter more characters it does not type new characters in textbox bellow the select2 box or accept anything in textbox at all.

example2

It look like it lost focus or it class. I have ran this in VS 2012 with IE and Chrome with Dev Tools , not errors or warnings

I am using the latest version of bootstrap and Select2.

I have work from the following Examples , if you want to replicate http://techtoffee.blogspot.com/2013/03/select2-with-aspnet-mvc.html http://twitter.github.io/bootstrap/javascript.html#modals http://twitter.github.io/bootstrap/javascript.html#tabs

todc commented 11 years ago

This might be better directed at the select2 repository at: https://github.com/ivaynberg/select2

The todc-select2 project only provides new CSS styles for the widget. We're pulling the javascript directly from ivaynberg's repository.

If you provide a working demo of the problem somewhere, I can help take a look.