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 disable "No matches found" and autocomplete at all on select2/Tagging Support? #1657
Comments
JS: $('#element').select2({
tags:[],
formatNoMatches: function() {
return '';
},
dropdownCssClass: 'select2-hidden'
}); CSS: .select2-hidden {
display:none !important;
} |
Great!! |
You can just put this in your css span.select2-search.select2-search--dropdown{
display:none;
} |
???? On 5 July 2015 at 07:44, Alexander notifications@github.com wrote:
|
.select2-no-results { |
.select2-results__message {
display: none !important;
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
How to disable "No matches found" and autocomplete at all on select2/Tagging Support?
Thanks
The text was updated successfully, but these errors were encountered: