@danielgindi/selectbox 2.0.29 → 2.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 2.0.29
2
+ * @danielgindi/selectbox 2.0.31
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  (function (global, factory) {
@@ -10341,7 +10341,7 @@
10341
10341
  if (readOnly === undefined) {
10342
10342
  readOnly = true;
10343
10343
  }
10344
- p.readOnly = !readOnly;
10344
+ p.readOnly = readOnly;
10345
10345
  p.el.setAttribute('aria-readOnly', p.readOnly.toString());
10346
10346
  p.input.readOnly = !(p.searchable || p.multi) || !!p.readOnly;
10347
10347