Attachment and confluence-content macro parameters are broken in the browser if they are set to multiple

If you define a static macro with an attachment or confluence-content parameter with the multiple option set to true eg:

{
    "identifier": "attachment-multiple",
    "name": {
        "value": "Attachment multiple"
    },
    "description": {
        "value": "Multi attachment"
    },
    "type": "attachment",
    "required": false,
    "multiple": true,
    "hidden": false,
    "indexing": {
        "enabled": false
    }
}

so the macro editor looks a bit like this:

then its not possible to successfully save the value for those “multiple” parameters in the macro, despite being able to select a value in the dropdown… In my browser I see the following error message in the console:

1 Like

Hi @jbevan ,

Thanks for reporting this. I’ve reproduced the error and created CONFCLOUD-72639.

Regards,
Dugald