Skip to content

show_trigger_form_if_no_params allows to trigger without params even when params required #37379

@kmehkeri

Description

@kmehkeri

Apache Airflow version

2.8.1

If "Other Airflow 2 version" selected, which one?

No response

What happened?

For show_trigger_form_if_no_params=False (default) the trigger form is only shown when any params are present.

I wanted to have an option to override logical date for a paramless DAG, so I set show_trigger_form_if_no_params=True. However now, instead of just showing the form, clicking on trigger displays a small combo "Trigger DAG" / "Trigger DAG w/ config".

What you think should happen instead?

Trigger form should be always shown. Just as the option says.

How to reproduce

Set how_trigger_form_if_no_params=False in configuration. Trigger DAG from UI.

Operating System

Using official Airflow Docker image in standalone mode

Versions of Apache Airflow Providers

Standard as of official Docker image.

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIRelated to UI/UX. For Frontend Developers.duplicateIssue that is duplicatedkind:bugThis is a clearly a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions