techolga commented on code in PR #39993:
URL: https://github.com/apache/airflow/pull/39993#discussion_r1623654857


##########
airflow/www/static/js/trigger.js:
##########
@@ -137,6 +137,14 @@ function initForm() {
           });
           field.on("blur", updateJSONconf);
           objectFields.set(elements[i].name, field);
+        } else if (
+          elements[i].attributes.valuetype &&
+          elements[i].attributes.valuetype.value === "array"
+        ) {
+          if (elements[i].value) {
+            elements[i].value = JSON.parse(elements[i].value).join("\n");

Review Comment:
   Yes when the form is triggered with the content from the screenshot, it will 
be handled as a single string element in an array.



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