I have following construct in my view.
<tbody> <tr repeat.for="item1 of array1"> <td if.bind="array2.length>0" repeat.for="item2 of array2"> <!-- work with item1 and item2 --> </td> <td else> <!-- work with item1 --> </td> </tr> </tbody>
This is working quite well in Chrome, and Firefox. But in IE, I am getting the following error.
Can’t find matching If for Else custom attribute.
This error can be easily avoided by using just an
if.bind with the negated condition instead of
However, my question after seeing the source is, whether this usage is intended to be supported or not. Also, why this is not working only for IE?