From c04e18d70bacbc9a32ada33ae168c318b21d05b7 Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Mon, 12 Aug 2024 13:55:05 +0200 Subject: [PATCH] fix: warning on Autocomplete --- src/Autocomplete/doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Autocomplete/doc/index.rst b/src/Autocomplete/doc/index.rst index 449f407f9e4..82f3ac64849 100644 --- a/src/Autocomplete/doc/index.rst +++ b/src/Autocomplete/doc/index.rst @@ -290,7 +290,7 @@ Passing Extra Options to the Ajax-powered Autocomplete Autocomplete field options are not preserved when the field is rendered on an Ajax call. So, features like exclude some options based on the current form data are not possible by default. To partially avoid this limitation, the `extra_options` option was added. -::warning +.. warning:: Only scalar values (`string`, `integer`, `float`, `boolean`), `null` and `arrays` (consisted from the same types as mentioned before) can be passed as extra options.