Skip to content

[TwigComponent] Merging defaults in nested attributes #2482

Discussion options

You must be logged in to vote

Hi, I didn't try but maybe {{ attributes.nested('title').defaults({ class: 'foo' }) }} can works

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@barbieswimcrew
Comment options

Answer selected by barbieswimcrew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants