Commit 6b1aa704 authored by Marc Egger's avatar Marc Egger

add documentation initial suggestion typeahead

parent 4c46f967
Pipeline #3341 passed with stages
in 3 minutes and 55 seconds
......@@ -79,6 +79,14 @@ suggestions are taken from both sources.
`[{value: "Alaska", key: "AK"}, {value: "Alabama", key: "AL"}]`
### .data-typeahead-initial-suggestion
* JSON encoded list of suggestions, which are shown when the field is clicked but empty.
* This automatically sets minlength to 0 (overwrites data-typeahead-minlength)
* Expected JSON example:
`[{value: "Alaska", key: "AK"}, {value: "Alabama", key: "AL"}]`
## Tags Form Element
The tags form element depends on Typeahead by default. The following attributes define the tags form element, additional
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment