We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
I think this could be solved by adding the spread operator for arrays (maybe also for ViewHelper tags at a later point):
<my:viewhelper additionalAttributes="{ title: 'my title', ...attrs }" />
Sorry, something went wrong.
I made an attempt to implement this in #810
related #336
First option with two variables would be made possible by #396.
No branches or pull requests
If you work with additionalAttributes in Tag-based ViewHelpers, it would be highly beneficial to have a good "array_replace_recursive" logic.
Example:
But if you want to add more values from another array, a logic such as
would be really cool.
The text was updated successfully, but these errors were encountered: