You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
tuaris
changed the title
HTMX with Handlebars Client side tempalte does not work with JSON Arrays
HTMX with Handlebars Client side template does not work with JSON Arrays
Feb 19, 2025
I got it to work by changing the structure of the source data to match this example: #801 (comment). Also seems like you can't template the full table, but instead need to do tbody only?
I've tried this with HTMX 2.x and 1.x and the current version of Handlebars.
I have the follow data in this format:
The following HTMX does not print out a table with 4 rows. Instead it's a table with only one empty row:
If I only have
{{items}}
, like so:I get this:
Is this a bug or am I missing something?
The text was updated successfully, but these errors were encountered: