You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jscheffl (via GitHub)" <gi...@apache.org> on 2024/02/16 22:42:38 UTC

[PR] Allow pre-population of trigger form values via URL parameters [airflow]

jscheffl opened a new pull request, #37497:
URL: https://github.com/apache/airflow/pull/37497

   This PR adds the (missing) option reported as Bug a while ago that the DAG trigger form can be called with default values populated.
   
   How to test:
   - Run the web UI on this branch, see that forms are displayed
   - Call the UI, e.g. DAG `example_params_ui_tutorial` and add URL parameters and see fields are pre-populated, e.g. `/dags/example_params_ui_tutorial/trigger?required_field=some text`
   - Check that boolean, objects and lists are also working e.g. via
       - `flag=true` or `flag=false`
       - `array_of_numbers=[17,18,19]`
       - `object={"x":789}`
   
   closes: #32859
   
   FYI @AutomationDev85 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Allow pre-population of trigger form values via URL parameters [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #37497:
URL: https://github.com/apache/airflow/pull/37497


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org