jens-scheffler-bosch opened a new issue, #31399: URL: https://github.com/apache/airflow/issues/31399
### Apache Airflow version 2.6.1 ### What happened When playing around with the form features as interoduced in AIP-50 and using the select list option via `enum` I realized that the default value will not be correctly picked when the form is loaded. Instead the first value always will be pre-selected. ### What you think should happen instead Default value should be respected ### How to reproduce Modify the `airflow/example_dags/example_params_ui_tutorial.py:68` and change the default to some other value. Load the form and see that `value 1` is still displayed on form load. ### Operating System Ubuntu 20.04 ### Versions of Apache Airflow Providers not relevant ### Deployment Official Apache Airflow Helm Chart ### Deployment details not relevant ### Anything else Workaround: Make your default currently top of the list. ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
