Skip to content

Commit 93f4613

Browse files
committed
fix bug in dynamic attributes
1 parent a2cea84 commit 93f4613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/View/ComponentAttributeBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public function setAttributes(array $attributes)
219219

220220
unset($attributes['attributes']);
221221

222-
$attributes = $parentBag->merge($attributes);
222+
$attributes = $parentBag->merge($attributes)->getAttributes();
223223
}
224224

225225
$this->attributes = $attributes;

0 commit comments

Comments
 (0)