Skip to content
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

How to Add a new option cvom combobox ? #249

Open
ghost opened this issue Jul 24, 2017 · 1 comment
Open

How to Add a new option cvom combobox ? #249

ghost opened this issue Jul 24, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 24, 2017

How to Add a new option cvom combobox ?

@shaunroot
Copy link

Are you asking if this plugin will allow users to enter their own values if the item is not in the list? This would be very useful to me as well.

@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

2 participants