Usiel commented on PR #32709:
URL: https://github.com/apache/airflow/pull/32709#issuecomment-1649170249

   > Making it nullable would cause the unchecked case to return NULL instead 
of FALSE, which is not a good idea. NULL in SQL is just bad. I’m pretty sure 
there’s a way to make a checkbox return true/false instead.
   
   OK, managed to get it working by overriding the form field. Using an 
additional validator in `validators_columns` was not sufficient, as the 
`DataRequired` (due to `nullable=False`) is still appended and has some effects 
for the form template.
   
https://github.com/apache/airflow/pull/32709/files#diff-917b70d2661fae8322c538a4f60b9d4ba755556036fe0c527eb0411a6ac60f2eR5051-R5056


-- 
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]

Reply via email to