-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Auto close the menu if maxOptions is set to 1 #1290
Comments
I add that.options.maxOptions == false and it's work, please add to next update version. |
Just do this instead: <select name="user" data-container="body" class="selectpicker show-menu-arrow" title="-Select-"> |
I try this way, but have problem, when I want to unchecked selected option, it's impossible... |
Ah, ok - I see the issue now. I can integrate this into the next version, but I'll use |
simulates usage of a non-multiple select, but allows to deselect option. close snapappointments#1290
I use this option, but want to auto close option block, because data-max-options="1"
<select name="user" data-container="body" class="selectpicker show-menu-arrow" data-max-options="1" title="-Select-" multiple>
I use this option method, because if I use without "multiple" I can't choice empty options.
I find this, but how can add data-max-options option?
The text was updated successfully, but these errors were encountered: