jscheffl commented on issue #43433: URL: https://github.com/apache/airflow/issues/43433#issuecomment-2453609553
Yea... and no. Please check the details in https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/params.html#use-params-to-provide-a-trigger-ui-form -might not be obvious but exactly for this case a feature was added: > If you add the attribute items with a dictionary that contains a field type with a value other than “string”, a JSON entry field will be generated for more array types and additional type validation as described in [JSON Schema Array Items](https://json-schema.org/understanding-json-schema/reference/array.html#items). ...means in case you want to have non-string items be added define an item type and then a JSON style input box will be added just not validating to an object. One example is contained in the example DAGs: https://github.com/apache/airflow/blob/main/airflow/example_dags/example_params_ui_tutorial.py#L136 - just using numbers and not dict's. -- 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]
