Skip to content

Conversation

@jscheffl
Copy link
Contributor

The last changes in trigger form created a regression that JSON/object entry fields with empty defaults are rendered empty. This causes errors if the object default is an empty dict ({}) as this is not explicitly checked.

A residual problem exists that if the object field is declared "required" and the field is empty == interpreted as null then the required field highlighting fails in JavaScript as the hidden data field behind CodeMirror can not be focussed. This would be major rework and will only be fixed in Airflow 3 with the new trigger form.

closes: #46858

@jscheffl jscheffl added type:bug-fix Changelog: Bug Fixes area:UI Related to UI/UX. For Frontend Developers. legacy ui Whether legacy UI change should be allowed in PR labels Feb 18, 2025
@jscheffl jscheffl added this to the Airflow 2.10.6 milestone Feb 18, 2025
@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Feb 18, 2025
@pierrejeambrun pierrejeambrun merged commit 846963d into apache:v2-10-test Feb 19, 2025
45 checks passed
@kaxil kaxil modified the milestones: Airflow 2.10.6, Airflow 2.11.0 Apr 29, 2025
@jscheffl jscheffl deleted the bugfix/fix-trigger-form-with-empty-object-default branch October 5, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues legacy ui Whether legacy UI change should be allowed in PR type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants