Open QuinnBast opened 5 years ago
When using a widget with a template, elements that are rendered inside of a <table> element are not parsed properly.
<table>
This template:
{{batteryList}} <table> <tbody> <tr>{{batteryList}}</tr> </tbody> </table>
Will output the following to the dom:
[object Object] [object Object] <table style=""> <tbody style=""> <tr style=""></tr> </tbody> </table>
This also applies to for loops {% for element in list %}, which are unable to loop through elements when they are placed inside a <table>
{% for element in list %}
When using a widget with a template, elements that are rendered inside of a
<table>
element are not parsed properly.This template:
Will output the following to the dom:
This also applies to for loops
{% for element in list %}
, which are unable to loop through elements when they are placed inside a<table>