-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add read only validation to read only fields #33413
Conversation
Add read only validation to DagRunEditForm and TaskInstanceEditForm read only fields.
It would be nice to have a base airflow form Class so we could modify |
Could you check the failed static checks? Here is the doc: https://github.com/apache/airflow/blob/main/STATIC_CODE_CHECKS.rst |
Actually it is not related to this change, and it was fixed by #33416, I merge main |
66ec628
to
881f31c
Compare
881f31c
to
c8ad87b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice way of implementing th read-only behaviour :)
* Add read only validation to read only fields Add read only validation to DagRunEditForm and TaskInstanceEditForm read only fields. * Improve docstring --------- Co-authored-by: Hussein Awala <hussein@awala.fr>
* Add read only validation to read only fields Add read only validation to DagRunEditForm and TaskInstanceEditForm read only fields. * Improve docstring --------- Co-authored-by: Hussein Awala <hussein@awala.fr> (cherry picked from commit b7a46c9)
Add read only validation to DagRunEditForm and TaskInstanceEditForm read only fields.