bootstrap-combobox
bootstrap-combobox copied to clipboard
There is no options to accept new values into the combobox
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)
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!
+1, it's not a combobox without ability to add new item.
+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!
+1 Indeed, this is not a combobox. More on comboboxes here: https://en.wikipedia.org/wiki/Combo_box
var idCombobox = 'cmbIdmunicipio';
//remove bootstrapt-combobox
$("#"+idCombobox+"undefined").closest(".combobox-container").remove()
//Remove validation
$('#'+idCombobox).data('combobox','')
//Create bootstrapt-combobox
$('#'+idCombobox).combobox();