Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser ignores logic in table elements #358

Closed
QuinnBast opened this issue Jun 19, 2019 · 1 comment
Closed

Parser ignores logic in table elements #358

QuinnBast opened this issue Jun 19, 2019 · 1 comment

Comments

@QuinnBast
Copy link

QuinnBast commented Jun 19, 2019

When using a widget with a template, elements that are rendered inside of a

element are not parsed properly.

{{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>

Additionally, loops {% for element in list %} are unable to execute when inside of a

element.

PS. Wasn't sure where to submit this bug so I submitted it to this repo.

EDIT: I think this is a dojox/dtl/tag/logic issue

@QuinnBast QuinnBast changed the title Parser ignores login in table elements Parser ignores logic in table elements Jun 19, 2019
@QuinnBast
Copy link
Author

Moved to dojox repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant