Skip to content

There is no options to accept new values into the combobox #155

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

Open
mfissehaye opened this issue Sep 30, 2014 · 4 comments
Open

There is no options to accept new values into the combobox #155

mfissehaye opened this issue Sep 30, 2014 · 4 comments

Comments

@mfissehaye
Copy link

The combobox can only hold values within the select element. It would be better if there was an option to let a user enter a new value (that doesn't exist in the options list)

@mvolkmann
Copy link

I thought that was part of the definition of a combobox. You can select from a set of predefined values OR enter a new value. Without that I don't think this is really a combobox. I'd love to see this feature added!

dburucu added a commit to dburucu/bootstrap-combobox that referenced this issue Jan 5, 2015
you can set Option "newOptionsAllowed" to accept new options not in select-options.
Default is true.
RLHawk1 referenced this issue in RLHawk1/bootstrap-combobox Feb 23, 2015
Fixed bug that caused it to set the value to the option description instead of the option value if newOptionsAllowed was true.
@asecondwill
Copy link

+1, it's not a combobox without ability to add new item.

@TroyWolf
Copy link

+1 Definition of "combobox" is a dropdown list of options with the ability to enter your own value not in the list. That's what I need and why I found this with my search. I looked through the nice examples and thought, this is missing the "combo" in combobox!

@tjcrowder
Copy link

+1 Indeed, this is not a combobox. More on comboboxes here: https://en.wikipedia.org/wiki/Combo_box

@josoma03
Copy link

var idCombobox = 'cmbIdmunicipio';
//remove bootstrapt-combobox
$("#"+idCombobox+"undefined").closest(".combobox-container").remove()
//Remove validation
$('#'+idCombobox).data('combobox','')
//Create bootstrapt-combobox
$('#'+idCombobox).combobox();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants