Skip to content

The aware directive is doubling the array #1648

@noxd3v

Description

@noxd3v

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions