Skip to content

Commit

Permalink
Merge branch 'document-sort' into 'gh-pages'
Browse files Browse the repository at this point in the history
Added documentation for the sort option for the search autocompleter

See merge request lfor/autocomplete-lhc!158
  • Loading branch information
plynchnlm committed Feb 26, 2024
2 parents 34ae376 + 0fd10a7 commit 84bcd34
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
demos/*.html-plusSource
test/cypress/videos
indexPreMin.html
bonk.mp3
cypress/
dist
node_modules/
bower_components
5 changes: 5 additions & 0 deletions docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,11 @@ <h3 id="searchList">Constructing a "search" (AJAX) autocompleter</h3>
<li>minChars - (default 1, as of version 11) The minimum number
of characters that must be in the field before autocompletion
will start.</li>
<li>sort - Whether or not display values should be sorted after being
retrieved from the server. (Default: true). Note that if you do not
want sorting, you might also want set the suggestionMode parameter to
Def.Autocompleter.NO_COMPLETION_SUGGESTIONS so that a suggestion is
not moved to the top of the list.</li>
<li>matchListValue - Whether the field value is required to be one from
the list (default: false).</li>
<li>tableFormat - If true, then if the list's items contain
Expand Down
5 changes: 5 additions & 0 deletions ssi_templates/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ <h3 id="searchList">Constructing a "search" (AJAX) autocompleter</h3>
<li>minChars - (default 1, as of version 11) The minimum number
of characters that must be in the field before autocompletion
will start.</li>
<li>sort - Whether or not display values should be sorted after being
retrieved from the server. (Default: true). Note that if you do not
want sorting, you might also want set the suggestionMode parameter to
Def.Autocompleter.NO_COMPLETION_SUGGESTIONS so that a suggestion is
not moved to the top of the list.</li>
<li>matchListValue - Whether the field value is required to be one from
the list (default: false).</li>
<li>tableFormat - If true, then if the list's items contain
Expand Down

0 comments on commit 84bcd34

Please sign in to comment.