🌐 AI搜索 & 代理 主页
Skip to content

Commit e7c5b72

Browse files
authored
Merge pull request corejavascript#128 from holtkamp/patch-1
Add displayKey as valid option in docs
2 parents 47d46b4 + d7eca04 commit e7c5b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/jquery_typeahead.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Datasets can be configured using the following options.
155155

156156
* `limit` – The max number of suggestions to be displayed. Defaults to `5`.
157157

158-
* `display` – For a given suggestion, determines the string representation
158+
* `display` | `displayKey` – For a given suggestion, determines the string representation
159159
of it. This will be used when setting the value of the input control after a
160160
suggestion is selected. Can be either a key string or a function that
161161
transforms a suggestion object into a string. Defaults to stringifying the

0 commit comments

Comments
 (0)