You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have upgraded from 1.10 to 1.16 and noticed that some of our widgets using dojox/dtl/_Templated did not work any more because the sub-widgets contained in the template were not created.
Investigating a little more, it appears to be caused by this commit in dijit that removes the widgetsInTemplate flag. This flag is still expected by dojox/dtl/_Templated to decide to parse sub-widgets, though.
Our workaround is to add the flag explicitly in our widgets. Everything seems to work fine then.
I don't know if there is enough interest to fix this in dtl, but a cleaner solution would be to do the same detection in dtl as in dijit to know if there are any widgets in the template.
The text was updated successfully, but these errors were encountered:
We have upgraded from 1.10 to 1.16 and noticed that some of our widgets using
dojox/dtl/_Templated
did not work any more because the sub-widgets contained in the template were not created.Investigating a little more, it appears to be caused by this commit in dijit that removes the
widgetsInTemplate
flag. This flag is still expected bydojox/dtl/_Templated
to decide to parse sub-widgets, though.Our workaround is to add the flag explicitly in our widgets. Everything seems to work fine then.
I don't know if there is enough interest to fix this in dtl, but a cleaner solution would be to do the same detection in dtl as in dijit to know if there are any widgets in the template.
The text was updated successfully, but these errors were encountered: