techolga opened a new pull request, #39993: URL: https://github.com/apache/airflow/pull/39993
closes: #39972 The schema argument in a Param definition is used to detemine the relevant UI element. When the type of a Param is `array` a simple textarea is rendered. When additionally a schema for the items of the array is provided, the UI element previously switched to a CodeMirror box that expects pure JSON inputs. For strings a textarea should be presented, to keep the same behaviour than without a format definition. For this a new valuetype `stringarray` is added, that behaves like an array but allows for format validation. Besides that the jinja template now accesses the `items` member of the schema correctly to avoid problems with empty `items` arrays. -- 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]
