| _header | | type | "string" |
|---|
| x-format | "hidden" |
|---|
| title | "Autocomplete example" |
|---|
| description | "<p>This example shows various setups using the autocomplete editor, based on the <a href="https://autocomplete.trevoreyre.com/#/javascript-component" target="_blank">autocomplete</a> library. The setup for each lookup engine is defined in a special callback list.</p>" |
|---|
|
|---|
| text | | type | "string" |
|---|
| x-input | "lookupelement" |
|---|
| title | "Wikipedia lookup (Page titles)" |
|---|
| description | "Enter a text of minimum 3 characters." |
|---|
| x-autocomplete | | search | "wikipediaSearch" |
|---|
| getResultValue | "wikipediaGetResultValue" |
|---|
| renderResult | "wikipediaRenderResult" |
|---|
| autoSelect | true |
|---|
|
|---|
|
|---|
| text2 | | type | "string" |
|---|
| x-input | "lookupelement" |
|---|
| title | "DAWA lookup (Danish streetnames)" |
|---|
| description | "Enter a text of minimum 3 characters." |
|---|
| x-autocomplete | | search | "dawaSearch" |
|---|
| getResultValue | "dawaGetResultValue" |
|---|
| autoSelect | true |
|---|
|
|---|
|
|---|
| text3 | | type | "string" |
|---|
| x-input | "lookupelement" |
|---|
| title | "Local form lookup (Font names from 'possibleFonts' array)" |
|---|
| description | "Enter a text of minimum 1 characters. (Try 'a')" |
|---|
| x-autocomplete | | search | "search_local" |
|---|
| autoSelect | true |
|---|
|
|---|
|
|---|
| possibleFonts | | type | "array" |
|---|
| x-format | "table" |
|---|
| items | |
|---|
| default | | "Arial" |
| "Arial Black" |
| "Times" |
| "Tahoma" |
| "Helvetica" |
| "Comic Sans" |
|
|---|
|
|---|