@danielgindi/selectbox 2.0.11 → 2.0.12

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.11
2
+ * @danielgindi/selectbox 2.0.12
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  (function (global, factory) {
@@ -11192,6 +11192,8 @@
11192
11192
 
11193
11193
  if (p.dropList.hasFocusedItem()) {
11194
11194
  p.dropList.setFocusedItemAtIndex(p.dropList.getFocusedItemIndex());
11195
+ } else if (!p.multi && this.getValue() !== undefined) {
11196
+ p.dropList.setFocusedItemByValue(this.getValue());
11195
11197
  }
11196
11198
 
11197
11199
  return this;