bootstrap-combobox icon indicating copy to clipboard operation
bootstrap-combobox copied to clipboard

There is no options to accept new values into the combobox

Open mfissehaye opened this issue 10 years ago • 4 comments

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)

mfissehaye avatar Sep 30 '14 13:09 mfissehaye

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!

mvolkmann avatar Dec 31 '14 21:12 mvolkmann

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

asecondwill avatar Aug 18 '15 10:08 asecondwill

+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!

TroyWolf avatar Oct 20 '15 16:10 TroyWolf

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

tjcrowder avatar Jan 27 '16 15:01 tjcrowder

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

josoma03 avatar Sep 28 '17 17:09 josoma03