From 4feaeb07296c5e7856a5f65d808e1eb576400a60 Mon Sep 17 00:00:00 2001 From: matlec Date: Wed, 6 Nov 2024 21:55:06 +0100 Subject: [PATCH] [Autocomplete][Doc] Mention `preload` can be set to `false` --- src/Autocomplete/doc/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Autocomplete/doc/index.rst b/src/Autocomplete/doc/index.rst index 35baf134a0..d9dd23c4c7 100644 --- a/src/Autocomplete/doc/index.rst +++ b/src/Autocomplete/doc/index.rst @@ -272,6 +272,7 @@ to the options above, you can also pass: ``preload`` (default: ``focus``) Set to ``focus`` to call the ``load`` function when control receives focus. Set to ``true`` to call the ``load`` upon control initialization (with an empty search). + Set to ``false`` not to call the ``load`` function when control receives focus. ``extra_options`` (default ``[]``) Allow you to pass extra options for Ajax-based autocomplete fields.