Chosen Readonly

Chosen Readonly is a plugin that enables the support of the readonly attribute for chosen selects.
Install
Yarn, NPM, or Bower
yarn add chosen-readonly
npm install chosen-readonly
bower install chosen-readonly
Rails
source 'https://rails-assets.org' do
gem 'rails-assets-chosen-readonly'
end
/*
*= require chosen
*= require chosen-readonly
*/
Usage
$('select').chosen().chosenReadonly();
$('select').chosen().chosenReadonly(true);
$('select').chosen().chosenReadonly(false);
$('select').trigger('chosen:updated');
Credits
Created by Weston Ganger - @westonganger
Plugin based off off this jsFiddle by @eirc