Skip to content

Feature request: Allow array merging / replacement in native parser #809

Description

@bmack

If you work with additionalAttributes in Tag-based ViewHelpers, it would be highly beneficial to have a good "array_replace_recursive" logic.

Example:

<f:media additionalAttributes="{additionalAttributes}" />

But if you want to add more values from another array, a logic such as

<f:media additionalAttributes="{additionalAttributes} + {key: 'my-value'}" />

would be really cool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions