diff --git a/select2-latest.html b/select2-latest.html
index 280efd2e..2c833c8a 100755
--- a/select2-latest.html
+++ b/select2-latest.html
@@ -207,11 +207,11 @@ $("#e10_3").select2({
- Changelog from 2.0
+ Changelog from 2.x
- Added support for disabled mode. See Disabled Mode example
- Added ability to provide custom matcher functions. See Custom Matcher Function example
+ Dropdown div is now appended directly to body
and is absolutely positioned. This should help when Select2 is inside constrained elements such as modals.
+ Optgroups are now supported.
@@ -240,10 +240,123 @@ $("#e10_3").select2({
The Basics
Select2 can take a regular select box like this:
-
Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia Wisconsin Wyoming
+
+
+ Alaska
+ Hawaii
+
+
+ California
+ Nevada
+ Oregon
+ Washington
+
+
+ Arizona
+ Colorado
+ Idaho
+ Montana Nebraska
+ New Mexico
+ North Dakota
+ Utah
+ Wyoming
+
+
+ Alabama
+ Arkansas
+ Illinois
+ Iowa
+ Kansas
+ Kentucky
+ Louisiana
+ Minnesota
+ Mississippi
+ Missouri
+ Oklahoma
+ South Dakota
+ Texas
+ Tennessee
+ Wisconsin
+
+
+ Connecticut
+ Delaware
+ Florida
+ Georgia
+ Indiana
+ Maine
+ Maryland
+ Massachusetts
+ Michigan
+ New Hampshire New Jersey
+ New York
+ North Carolina
+ Ohio
+ Pennsylvania Rhode Island South Carolina
+ Vermont Virginia
+ West Virginia
+
+
+
and turns it into:
- Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia Wisconsin Wyoming
+
+
+ Alaska
+ Hawaii
+
+
+ California
+ Nevada
+ Oregon
+ Washington
+
+
+ Arizona
+ Colorado
+ Idaho
+ Montana Nebraska
+ New Mexico
+ North Dakota
+ Utah
+ Wyoming
+
+
+ Alabama
+ Arkansas
+ Illinois
+ Iowa
+ Kansas
+ Kentucky
+ Louisiana
+ Minnesota
+ Mississippi
+ Missouri
+ Oklahoma
+ South Dakota
+ Texas
+ Tennessee
+ Wisconsin
+
+
+ Connecticut
+ Delaware
+ Florida
+ Georgia
+ Indiana
+ Maine
+ Maryland
+ Massachusetts
+ Michigan
+ New Hampshire New Jersey
+ New York
+ North Carolina
+ Ohio
+ Pennsylvania Rhode Island South Carolina
+ Vermont Virginia
+ West Virginia
+
+
with support for quick option filtering via a search box
diff --git a/select2-master b/select2-master
index 94ffecb8..55fd0016 160000
--- a/select2-master
+++ b/select2-master
@@ -1 +1 @@
-Subproject commit 94ffecb824cccab6b8df93d6ac5212e50817d6a6
+Subproject commit 55fd00169e344cfb3f49f062dc317416ba05be15