Skip to content

Commit 202f1ce

Browse files
authored
Merge pull request #289 from shoito/fix/min-length-in-readme
Update README.md for min-length default value
2 parents c5d316d + 31195b4 commit 202f1ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ You can also define custom list transitions by defining css rules for the transi
500500
|--------------------------------|----------|----------|--------------------------------------------------------------|
501501
| `controls` <sup>[v1.2.0](https://github.com/KazanExpress/vue-simple-suggest/releases/tag/v1.2.0)</sup> | Object | See [default controls](#default-controls) | Determines the keyboard shortcuts in key-codes (for browser-compatibility purposes). Arrays provide the ability to assign multiple keys to one action. Consists of 5 array fields: `selectionUp`, `selectionDown`, `select`, `hideList` and `autocomplete`, all of which are optional. |
502502
| `max-suggestions` | Number | `10` | The maximum amount of suggestions to display. Set to 0 for infinite suggestions. |
503-
| `min-length` | Number | `3` | The minimum amount of symbols in input to trigger suggestion list. `vue-simple-suggest` starts behaving as a dropdown menu, if the value is 0. |
503+
| `min-length` | Number | `1` | The minimum amount of symbols in input to trigger suggestion list. `vue-simple-suggest` starts behaving as a dropdown menu, if the value is 0. |
504504
| `display-attribute` | String | `'title'` | The property in a suggestion object to display in a list. Supports dotted paths. |
505505
| `value-attribute` | String | `'id'` | The property in a suggestion object to use as a unique key. Supports dotted paths. |
506506
| `list` | Function or Array | `() => []` | The array provider function, must accept a query as its only argument. Can return an array or a promise. Can be async. The component behaves as a simple input without this function. |

0 commit comments

Comments
 (0)