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
Indeed, if "variable" is null or undefined, this will give a JS error "Cannot read property 'constructor' of undefined". You just have to add a check on "variable" for fix that.
I encountered this problem in a each loop with an instruction similar to :
{{#js_if "@root.foo.bar != null"}} Is not null {{/js_if}}
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
In parseJsVariable function, I think a condition is missing in :
(variable.constructor && variable.constructor === Object)
Indeed, if "variable" is null or undefined, this will give a JS error "Cannot read property 'constructor' of undefined". You just have to add a check on "variable" for fix that.
I encountered this problem in a each loop with an instruction similar to :
{{#js_if "@root.foo.bar != null"}} Is not null {{/js_if}}
Thanks
The text was updated successfully, but these errors were encountered: