Skip to content

Commit

Permalink
fix(settings): Decrease searchRenderAfter default setting to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
gund committed Jul 14, 2017
1 parent e428b17 commit a987686
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ myOptions: IMultiSelectOption[] = [
| maxHeight | The maximum height for the dropdown (including unit) | '300px' |
| displayAllSelectedText | Display the `allSelected` text when all options are selected | false |
| searchRenderLimit | If `enableSearch=true` and total amount of items more then `searchRenderLimit` (0 - No limit) then render items only when user typed more then or equal `searchRenderAfter` charachters | 0 |
| searchRenderAfter | Amount of characters to trigger rendering of items | 3 |
| searchRenderAfter | Amount of characters to trigger rendering of items | 1 |
| searchMaxLimit | If more than zero will render only first N options in search results | 0 |
| searchMaxRenderedItems | Used with searchMaxLimit to further limit rendering for optimization. Should be less than searchMaxLimit to take effect | 0 |
| displayAllSelectedText | Display the `allSelected` text when all options are selected | false |
Expand Down
2 changes: 1 addition & 1 deletion src/dropdown/dropdown.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class MultiselectDropdown implements OnInit, OnChanges, DoCheck, OnDestro
pullRight: false,
enableSearch: false,
searchRenderLimit: 0,
searchRenderAfter: 3,
searchRenderAfter: 1,
searchMaxLimit: 0,
searchMaxRenderedItems: 0,
checkedStyle: 'checkboxes',
Expand Down

0 comments on commit a987686

Please sign in to comment.