Commit 5be63afff2c36eb233f97da8e6587c3ab3133c18
1 parent
1f2f687a
Exists in
master
and in
19 other branches
Added performance tip for autocomplete [skip ci]
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
README.md
@@ -633,6 +633,8 @@ class MoviesController < ApplicationController | @@ -633,6 +633,8 @@ class MoviesController < ApplicationController | ||
633 | end | 633 | end |
634 | ``` | 634 | ``` |
635 | 635 | ||
636 | +**Note:** Use `load: false` and `misspellings: {below: n}` (or `misspellings: false`) for best performance. | ||
637 | + | ||
636 | Then add the search box and JavaScript code to a view. | 638 | Then add the search box and JavaScript code to a view. |
637 | 639 | ||
638 | ```html | 640 | ```html |