Skip to content

Commit

Permalink
Merge branch 'add-limit-to-create-filter-options' of https://github.c…
Browse files Browse the repository at this point in the history
…om/govizlora/material-ui into add-limit-to-create-filter-options
  • Loading branch information
govizlora committed Feb 4, 2020
2 parents c9c4ffe + 2d0c106 commit 488e2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/components/autocomplete/autocomplete.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ It supports the following options:
- `config.matchFrom` (*'any' | 'start'* [optional]): Defaults to `'any'`.
- `config.stringify` (*Func* [optional]): Defaults to `JSON.stringify`.
- `config.trim` (*Boolean* [optional]): Defaults to `false`. Remove trailing spaces.
- `config.limit` (*Number* [optional]): Limit the number of suggested options to be shown. For example, if `config.limit` is `10`, only the first `10` matching options are shown. If not set, no limit is applied (This is the default behavior).
- `config.limit` (*Number* [optional]): Default to null. Limit the number of suggested options to be shown. For example, if `config.limit` is `100`, only the first `100` matching options are shown. It can be useful if a lot of options match and virtualization wasn't set up.

In the following demo, the options need to start with the query prefix:

Expand Down

0 comments on commit 488e2b4

Please sign in to comment.