This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-1-test by this push:
     new c493564753c [v3-1-test] Fix FlexibleForm rendering when all params 
have sections (#56870) (#56984)
c493564753c is described below

commit c493564753c62f59d74b07187d7c9796fb2aa5f3
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Oct 21 17:08:56 2025 -0400

    [v3-1-test] Fix FlexibleForm rendering when all params have sections 
(#56870) (#56984)
    
    The original logic checked failed when ALL params had sections, thus
    thus fix simplifies the conditional to check if there are any params at all.
    (cherry picked from commit 02fef9d6203b5a7b56f10aa23e10436d9d9cbafa)
    
    Co-authored-by: Fred Thomsen <[email protected]>
---
 .../src/airflow/ui/src/components/FlexibleForm/FlexibleForm.tsx         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/airflow-core/src/airflow/ui/src/components/FlexibleForm/FlexibleForm.tsx 
b/airflow-core/src/airflow/ui/src/components/FlexibleForm/FlexibleForm.tsx
index 07b7cbe629d..ec140eb134b 100644
--- a/airflow-core/src/airflow/ui/src/components/FlexibleForm/FlexibleForm.tsx
+++ b/airflow-core/src/airflow/ui/src/components/FlexibleForm/FlexibleForm.tsx
@@ -108,7 +108,7 @@ export const FlexibleForm = ({
     }
   };
 
-  return Object.entries(params).some(([, param]) => typeof 
param.schema.section !== "string") ? (
+  return Object.keys(params).length > 0 ? (
     Object.entries(params).map(([, secParam]) => {
       const currentSection = secParam.schema.section ?? 
flexibleFormDefaultSection;
 

Reply via email to