You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| ajax-data-type | String | "json" | In what format will AJAX fetched data be returned in? |
44
-
| ajax-search-index | String || The index or key which must be used to determine the value from the returned data. |
45
-
| ajax-url | URL || The URL which must be called via AJAX to fetch remote data. |
46
-
| allow-new-words | Boolean | true | Besides the suggested words, also allow custom user-defined words to be entered. |
47
-
| max-selection-size | Number | 0 | How many values are allowed? Provide a positive number or 0 for unlimited. |
48
-
| placeholder | String | Enter text | The placeholder text for the form input. The `placeholder` attribute of the form element can also be used. |
49
-
| prefill | List || A list of values with which the form element must be filled in with. |
50
-
| prefill-json | JSON || A JSON object containing prefill values. We support two types of JSON data for prefill data:`{"john-snow": "John Snow", "tywin-lannister": "Tywin Lannister"}` or `[{"id": "john-snow", "text": "John Snow"}, {"id": "tywin-lannister", "text":"Tywin Lannister"}]`|
51
-
| words | List || A list of words which will be used as suggestions if they match with what's being typed by the user. |
52
-
| words-json | JSON || The suggested words in JSON format. |
53
-
| minimum-input-length | Number | 2 | Defines the minimum amount of characters needed for a search. |
| ajax-data-type | String | "json" | In what format will AJAX fetched data be returned in? |
44
+
| ajax-search-index | String || The index or key which must be used to determine the value from the returned data. |
45
+
| ajax-url | URL || The URL which must be called via AJAX to fetch remote data. |
46
+
| allow-new-words | Boolean | true | Besides the suggested words, also allow custom user-defined words to be entered. |
47
+
| max-selection-size | Number | 0 | How many values are allowed? Provide a positive number or 0 for unlimited. |
48
+
| placeholder | String | Enter text | The placeholder text for the form input. The `placeholder` attribute of the form element can also be used. |
49
+
| prefill | List || A comma separated list of values with which the form element must be filled in with. The `separator` option does not have an effect here. |
50
+
| prefill-json | JSON || A JSON object containing prefill values. We support two types of JSON data for prefill data:`{"john-snow": "John Snow", "tywin-lannister": "Tywin Lannister"}` or `[{"id": "john-snow", "text": "John Snow"}, {"id": "tywin-lannister", "text":"Tywin Lannister"}]`|
51
+
| separator | String | "," | A separator character to separate multiple values from each other. This is used to initialize and write back the selection to the input field. The prefilled option is always separated by a comma. If you want to use a semicolon as separator do it like so: `separator: ;;`|
52
+
| words | List || A list of words which will be used as suggestions if they match with what's being typed by the user. |
53
+
| words-json | JSON || The suggested words in JSON format. |
54
+
| minimum-input-length | Number | 2 | Defines the minimum amount of characters needed for a search. |
0 commit comments