How can I use the Handlebars template to operate the template, which defaults to the mustache template

How can I use the Handlebars template to operate the template, which defaults to the mustache template

Could you explain what you are trying to achieve ?
Node-RED afaik only has mustache support.

Apparently "Handlebars is largely compatible with Mustache templates"

just for future reference:

Gemini AI gave me this, but this do not translate/interpret to the UI.

<ul>
    {{#each msg.payload}}
        <li>{{this.name}}</li>
    {{/each}}
</ul>

Alterately I used Angular feature of ng-repeat like this:

<h4> Legend: </h4>
<font ng-repeat="item in msg.payload">
    <b> 
        {{item.name}} </br>
    </b>
</font>
</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.