From 119df9b09f1285fe2e8f2998e0f91045effc2ed4 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Sun, 13 Sep 2015 11:31:59 -0400 Subject: [PATCH] Add questions about the dropdown --- docs/_includes/options-new/dropdown.html | 9 ++++++ .../options-new/dropdown/filtering.html | 23 +++++++++++++++ .../options-new/dropdown/placement.html | 29 +++++++++++++++++++ .../options-new/dropdown/selections.html | 17 +++++++++++ docs/options-new.html | 1 + 5 files changed, 79 insertions(+) create mode 100644 docs/_includes/options-new/dropdown.html create mode 100644 docs/_includes/options-new/dropdown/filtering.html create mode 100644 docs/_includes/options-new/dropdown/placement.html create mode 100644 docs/_includes/options-new/dropdown/selections.html diff --git a/docs/_includes/options-new/dropdown.html b/docs/_includes/options-new/dropdown.html new file mode 100644 index 00000000..f0d4bd85 --- /dev/null +++ b/docs/_includes/options-new/dropdown.html @@ -0,0 +1,9 @@ +
+

+ Displaying results +

+ + {% include options-new/dropdown/filtering.html %} + {% include options-new/dropdown/selections.html %} + {% include options-new/dropdown/placement.html %} +
\ No newline at end of file diff --git a/docs/_includes/options-new/dropdown/filtering.html b/docs/_includes/options-new/dropdown/filtering.html new file mode 100644 index 00000000..64ce3d99 --- /dev/null +++ b/docs/_includes/options-new/dropdown/filtering.html @@ -0,0 +1,23 @@ +
+

+ Can I change when search results are loaded? +

+ +

+ Can Select2 wait until the user has typed a search term before triggering the request? +

+ + {% include options-new/not-written.html %} + +

+ Select2 is allowing long search terms, can this be prevented? +

+ + {% include options-new/not-written.html %} + +

+ I only want the search box if there are enough results +

+ + {% include options-new/not-written.html %} +
\ No newline at end of file diff --git a/docs/_includes/options-new/dropdown/placement.html b/docs/_includes/options-new/dropdown/placement.html new file mode 100644 index 00000000..fe247c4f --- /dev/null +++ b/docs/_includes/options-new/dropdown/placement.html @@ -0,0 +1,29 @@ +
+

+ Can I change how the dropdown is placed? +

+ + + + {% include options-new/not-written.html %} + + + + {% include options-new/not-written.html %} + +

+ I'm using a Bootstrap modal and I can't use the search box +

+ + {% include options-new/not-written.html %} + +

+ I'm using jQuery UI and I can't use the search box +

+ + {% include options-new/not-written.html %} +
\ No newline at end of file diff --git a/docs/_includes/options-new/dropdown/selections.html b/docs/_includes/options-new/dropdown/selections.html new file mode 100644 index 00000000..e875e427 --- /dev/null +++ b/docs/_includes/options-new/dropdown/selections.html @@ -0,0 +1,17 @@ +
+

+ Can I change how selecting results works? +

+ +

+ Can I select the highlighted result when the dropdown is closed? +

+ + {% include options-new/not-written.html %} + +

+ Can I prevent the dropdown from closing when a result is selected? +

+ + {% include options-new/not-written.html %} +
\ No newline at end of file diff --git a/docs/options-new.html b/docs/options-new.html index 62ce143a..9c0d3cad 100644 --- a/docs/options-new.html +++ b/docs/options-new.html @@ -22,6 +22,7 @@ slug: options {% include options-new/core.html %} {% include options-new/data.html %} {% include options-new/selections.html %} + {% include options-new/dropdown.html %} {% include options-new/events.html %}