From 32ac91e43fb302acbb4aa42abf1e4cabfc2b4aab Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sun, 10 Dec 2023 16:00:28 -0300 Subject: [PATCH] Update build_config field value type --- docs/docs/components/custom.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/components/custom.mdx b/docs/docs/components/custom.mdx index 90282a73e..0982848e0 100644 --- a/docs/docs/components/custom.mdx +++ b/docs/docs/components/custom.mdx @@ -56,7 +56,7 @@ The CustomComponent class serves as the foundation for creating custom component - **build_config**: Used to define the configuration fields of the component (if applicable). It should always return a dictionary with specific keys representing the field names and corresponding configurations. This method is called when the code is processed (i.e., when you click _Check and Save_ in the code editor). It must follow the format described below: - Top-level keys are field names. - - Their values are also of type _`dict`_. They specify the behavior of the generated fields. + - Their values are can be of type _`langflow.field_typing.TemplateField`_ or _`dict`_. They specify the behavior of the generated fields. Below are the available keys used to configure component fields: