select2 is not updated after disable of selected option

266 views
Skip to first unread message

eitan...@gmail.com

unread,
May 23, 2016, 9:51:10 AM5/23/16
to select2
I'm trying to disable the selected option in select2 but it seems like the select2 is not refreshing.

My purpose is to disable each item in the select2 list after selecting it. I see the the HTML that the option got the disabled attribute but the option is still enabled in the select2 element.


See example : https://jsfiddle.net/bkqeqbay/1/

Kevin Brown

unread,
Jun 6, 2016, 5:14:08 PM6/6/16
to select2
It sounds like you might be running into the following known issue in Select2


--
You received this message because you are subscribed to the Google Groups "select2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to select2+u...@googlegroups.com.
To post to this group, send email to sel...@googlegroups.com.
Visit this group at https://groups.google.com/group/select2.
For more options, visit https://groups.google.com/d/optout.

Audio tools

unread,
Sep 30, 2026, 4:50:00 AM (3 days ago) Sep 30
to select2
When choosing a phone for everyday use, memory and overall performance can make a noticeable difference, especially for basic apps and browsing. For people comparing budget options, you can see more 3GB RAM mobile choices and specifications before deciding what fits their needs.
Reply all
Reply to author
Forward
0 new messages