Skip to content

"each_row" helper cannot contain calls to inline partials. #846

@mesr

Description

@mesr

Introduction

"each_row" helper cannot contain calls to inline partials.

To Reproduce

{{#*inline "item" }}
    <li>{{ this }}</li>
{{/inline}}
<ul>
{{#each_row }}
    {{> item }}
{{/each_row }}
</ul>
select
    'foo' as component;
select
    'a' as item;
select
    'b' as item;
select
    'c' as item;

Actual behavior

After following these steps, this error message shows up on the web page:

Partial not found item

Version information

  • OS: Linux Debian 11
  • PostgreSQL 17
  • SQLPage 0.33.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions