diff --git a/airflow/example_dags/example_params_ui_tutorial.py b/airflow/example_dags/example_params_ui_tutorial.py index 485817f137080..3d2ec97c9976b 100644 --- a/airflow/example_dags/example_params_ui_tutorial.py +++ b/airflow/example_dags/example_params_ui_tutorial.py @@ -65,11 +65,11 @@ ), # If you want to have a selection list box then you can use the enum feature of JSON schema "pick_one": Param( - "value 1", + "value 42", type="string", title="Select one Value", description="You can use JSON schema enum's to generate drop down selection boxes.", - enum=[f"value {i}" for i in range(1, 42)], + enum=[f"value {i}" for i in range(16, 64)], ), # Boolean as proper parameter with description "bool": Param( diff --git a/airflow/www/templates/airflow/trigger.html b/airflow/www/templates/airflow/trigger.html index f98e31b0c9b46..a7969f7cbb9da 100644 --- a/airflow/www/templates/airflow/trigger.html +++ b/airflow/www/templates/airflow/trigger.html @@ -71,10 +71,10 @@ {% elif "enum" in form_details.schema and form_details.schema.enum %} {% elif form_details.schema and "array" in form_details.schema.type %}