-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ajax with preselected option #45
Comments
This issue: #41 applies to single selects as well. I still haven't figured out why the heck its not working on pre selected options. If you figure out anything when working through this please let me know. Right now I could take any information. Sorry its not working for you. |
Hi guys,
after you add the ajax bootstrap select. in your example http://jsfiddle.net/okbnumdc/10/ add this line in the end of js. It works fine for me but couldn't keep more then one options. If any one can resolve it let me know please. |
@Sharmi89 it couldn't keep more than one option in the example at least because it wasn't a multi select. See: https://jsfiddle.net/okbnumdc/14/ for an example with multi select working with your patch for at least temporarily resolving this. |
Thanks @Sharmi89! Your solution works like a treat. At least in the fiddle, I still have to figure out why it fails in my project, but that is another story :) |
#76 should fix this. If its still an issue open a new issue. |
Hi,
I'm trying to use the ajax select with an update form, like the example in this fiddle: http://jsfiddle.net/okbnumdc/10/. Basically, before the first ajax is sent, I already want to have one option selected.
What I did is I took a working example (http://jsfiddle.net/okbnumdc/9/) and just added an existing option to the select list with an attribute "selected". It is shown as selected at first, but when I try to choose a different option, the select message turns to "Select and Begin Typing". Is there a bug with preselecting an option?
Best regards,
Gregor
The text was updated successfully, but these errors were encountered: