framework icon indicating copy to clipboard operation
framework copied to clipboard

The aware directive is doubling the array

Open noxd3v opened this issue 1 month ago • 0 comments

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

noxd3v avatar Nov 27 '25 14:11 noxd3v