How can I dynamically make a select2 combobox read-only?
Here\'s what I\'ve tried so far:
$(\'...\').attr({\'reado
This works for me: .select2("readonly", true); .select2("readonly", false);