Hello,
I can't seam to enable/disable a multiselect.
Example: when I go to this page:
http://davidstutz.github.io/bootstrap-multiselect/
And on the chrome console I enter:
$("#example31").prop('disabled', false);
The select turns to the expected state, but the UI doesn't change.
Am I doing something wrong?
Thanks
It is not sufficient to toggle the disabled state of the select, you also need to set the button disabled/enabled. I will add two simple methods for this with the next commit.
Use the enable
and disable
methods.
Thank you @davidstutz :-)
how can we used that enable/disable?
$('#mydropdown').multiselect('disable');
and
$("#mydropdown").multiselect('enable')
Hello,
I can't seem to enable/disable a particular option in multiselect dropdown.
Any solution?
@Errol12
https://github.com/davidstutz/bootstrap-multiselect/issues/476#issuecomment-71461232
That works for me
Most helpful comment
$('#mydropdown').multiselect('disable');
and
$("#mydropdown").multiselect('enable')