Replies: 1 comment
-
I guess you could "merge" other attributes https://laravel.com/docs/8.x/blade#default-merged-attributes <x-another {{ $attributes->merge(['some' => 'other']) }}></x-another> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a simple component:
<x-component something="new" />
Inside component.blade.php I have:
<x-another some="other" {{ $attributes }} />
Inside another.blade.php I have:
{{ $attributes }}
What I expect to output:
some="other" something="new"
Instead:
something="new"
Is this what you would expect? Is it documented somewhere?
Beta Was this translation helpful? Give feedback.
All reactions