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
Help us to manage our issues by answering the following:
Describe your issue:
in a tag with 'each' item properties are not read correctly.
the error is 'TypeError: scope.item.scope is undefined'
The problem is that the compiler does generate
return scope.classNames({active: scope.item.scope.isActive});
instead of
return scope.classNames({active: scope.item.scope.isActive});
Can you reproduce the issue?
yes, see tag below.
BTW I took the 'classNames' function from the homepage
Help us to manage our issues by answering the following:
in a tag with 'each' item properties are not read correctly.
the error is 'TypeError: scope.item.scope is undefined'
The problem is that the compiler does generate
return scope.classNames({active: scope.item.scope.isActive});
instead of
return scope.classNames({active: scope.item.scope.isActive});
yes, see tag below.
BTW I took the 'classNames' function from the homepage
https://plnkr.co/edit/f5q714B2Ay6Cw8cQVf3n?p=preview
On which browser/OS does the issue appear?
'all'
Which version of Riot does it affect?
'4.6.2 and also the current master'
How would you tag this issue?
The text was updated successfully, but these errors were encountered: