You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've been using Bootstrap selectpicker for a website that I'm making at work.
When the user is under certain roles. I want these selectpickers to be disabled. Not allowing them to see any other option.
Now, despite being unable to select another option - the menu can still be opened allowing the user to still see the other users.
It works when using: $('#selectpickerName').attr('disabled', true).selectpicker('refresh') HOWEVER I then run into the bug with duplicating options, where it'll say "Selected optionSelected option".
Any suggestions?
The text was updated successfully, but these errors were encountered:
Hi.
So I've been using Bootstrap selectpicker for a website that I'm making at work.
When the user is under certain roles. I want these selectpickers to be disabled. Not allowing them to see any other option.
Now, despite being unable to select another option - the menu can still be opened allowing the user to still see the other users.
It works when using: $('#selectpickerName').attr('disabled', true).selectpicker('refresh') HOWEVER I then run into the bug with duplicating options, where it'll say "Selected optionSelected option".
Any suggestions?
The text was updated successfully, but these errors were encountered: