lh5844 commented on code in PR #41144:
URL: https://github.com/apache/airflow/pull/41144#discussion_r1698894161
##########
airflow/www/views.py:
##########
@@ -4375,6 +4377,18 @@ def process_form(self, form, is_created):
# value isn't an empty string.
if value != "":
extra[field_name] = value
+ field = form._fields.get(key)
+ # Check if the field is a BS3TextFieldWidget
+ if isinstance(field.widget, BS3TextFieldWidget):
+ value = form.data.get(key, "")
+ if isinstance(value, str):
+ value = value.strip()
+ if value:
Review Comment:
Based on our discussion, I've kept the general warning on the connection
edit form.
--
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]