SyntaxFix
Write A Post
Hire A Developer
Questions
In selec2 site you can see options. There is "disabled" option for api. You can use like :
$('#foo').select2({ disabled: true });