jscheffl commented on issue #43433:
URL: https://github.com/apache/airflow/issues/43433#issuecomment-2455643752
Okay, @raphaelauv maybe you were hitting a side effect... I did a check on
my side adding to airflow/example_dags/example_params_ui_tutorial.py with:
```
# An array of numbers
"array_of_dicts": Param(
[{}, {"key": "value"}, {"one": "two"}],
"Only dicts are accepted in this array",
type="array",
title="Array of dicts",
items={"type": "object"},
),
```
..alongside to other parameters.
This renders correctly on my side with:

Can you check adding a "valid" default value? Because you define `None`per
default - which is not valid according to specs. So maybe this special case
with a invalid/empty default was not tested. If you want to permit `None` as
valid value then you need to set `type=["none", "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]