We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As the title says I am using selectize.js and I have a problem with options loaded after selectize object was created.
After I select an option from drop-down menu and remove it from an input box. That option doesn't appear in drop-down menu again.
My HTML:
<input type="text" id="input-tags3" class="demo-default selectized" value="" tabindex="-1" style="display: none;">
My JS:
$('#input-tags5').selectize({ plugins: ['remove_button'], persist: false, create: false, valueField: 'value', labelField: 'text', searchField: 'text' }); $('#input-tags5')[0].selectize.addOption({value: 1, text: 'one'}); $('#input-tags5')[0].selectize.refreshOptions(true);
The text was updated successfully, but these errors were encountered:
Similar issue as here: #683 (comment)
Sorry, something went wrong.
Ok, my bad I found where was an error. It is because of this line persist: false, -> needs to be true. Sorry :)
persist: false,
true
No branches or pull requests
As the title says I am using selectize.js and I have a problem with options loaded after selectize object was created.
After I select an option from drop-down menu and remove it from an input box. That option doesn't appear in drop-down menu again.
My HTML:
My JS:
The text was updated successfully, but these errors were encountered: