The following table structure does not work:
<table>
<tr><td>..</td></tr>
<tr template if="{{flag==true}}">
<td>optional row</td>
</tr>
If template is moved above a row as follows then code works.
<table>
<tr><td>..</td></tr>
<template if="{{flag==true}}">
<tr >
<td>optional row</td>
</tr>
</template>
</table>
but using template as above shows warning in editor: Unexpected start tag (template) in table context caused voodoo mode.
Currently I am ignoring the warning as code seems to work, but is it the right way to use template to conditionally display a row of a table?
thanks.
<template>
tag. This is the more compatible version.