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 2025/02/18 21:39:58 UTC
[PR] Fix Trigger Form with Empty Object Default [airflow]
jscheffl opened a new pull request, #46872:
URL: https://github.com/apache/airflow/pull/46872
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
--
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] Fix Trigger Form with Empty Object Default [airflow]
Posted by "pierrejeambrun (via GitHub)" <gi...@apache.org>.
pierrejeambrun merged PR #46872:
URL: https://github.com/apache/airflow/pull/46872
--
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