diff --git a/README.md b/README.md index 6a24325..12a9c75 100644 --- a/README.md +++ b/README.md @@ -99,10 +99,10 @@ A lightweight, configurable select box/text input plugin. Similar to Select2 and ### items Type: `Array` Default: `[]` -Usage: Add pre-selected items (see terminology) to text input. - Input types affected: `text` +Usage: Add pre-selected items (see terminology) to text input. + Pass an array of strings: `['value 1', 'value 2', 'value 3']` @@ -125,10 +125,10 @@ Pass an array of objects: ### choices Type: `Array` Default: `[]` -Usage: Add choices (see terminology) to select input. - Input types affected: `select-one`, `select-multiple` +Usage: Add choices (see terminology) to select input. + Pass an array of objects: ```