This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-7-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit ebbebf14bb5dcbe6661c2e2fae1e31a8a2523025 Author: Sam Wheating <[email protected]> AuthorDate: Thu Aug 31 13:54:54 2023 -0700 Differentiate 0 and unset as a default param values (#33965) (cherry picked from commit c51901afc14bf82ff678226a7b8e32a972eff924) --- airflow/www/templates/airflow/trigger.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/www/templates/airflow/trigger.html b/airflow/www/templates/airflow/trigger.html index 69f168db52..72a0f28736 100644 --- a/airflow/www/templates/airflow/trigger.html +++ b/airflow/www/templates/airflow/trigger.html @@ -125,7 +125,7 @@ {% elif form_details.schema and ("integer" in form_details.schema.type or "number" in form_details.schema.type) %} <input class="form-control" name="element_{{ form_key }}" id="element_{{ form_key }}" valuetype="number" {% if "integer" in form_details.schema.type %} type="number" {% else %} type="decimal" {% endif %} - value="{% if form_details.value %}{{ form_details.value }}{% endif %}" + value="{% if form_details.value is not none %}{{ form_details.value }}{% endif %}" {%- if form_details.schema.minimum %} min="{{ form_details.schema.minimum }}"{% endif %} {%- if form_details.schema.maximum %} max="{{ form_details.schema.maximum }}"{% endif %} {%- if form_details.schema.type and not "null" in form_details.schema.type %} required=""{% endif %} />
