framework
framework copied to clipboard
The aware directive is doubling the array
For some reason positions component is rendering array values twice when used with aware directive. Works fine when accessing from locals in render configuration
<x-layout>
<x-list.positions aware:project="{{ single.project }}" />
</x-layout>
<table class="w-full mt-10">
<each loop="position, i in project.positions">
<tr>
<td class="pb-5">
<x-list.item.position aware:position="{{ position }}" />
</td>
</tr>
</each>
</table>
| @maizzle/framework | node |
|---|---|
| ^5.3.1 | 22.14.0 |