it appears that when you have multiple nested tags using the same name attribute (e. g. name="foo"), Riot creates an array under this.tags (e. g. this.tags.foo) that consists of objects containing the properites of the parent tag while missing properties and methods of the nested tag. This is probably related to #1697.
I have created an example here:
Which version of Riot does it affect?
Current master from GitHub.
How would you tag this issue?
This is specific to each and does not occur for multiple tags with same name that are non-looped
This issue will disappear in email@example.com http://plnkr.co/edit/9u6en3y8znFNjDaS8ns7?p=preview using the ref directive.
I am not sure it's worth to fix it now in riot@2 it could be a potential breaking change. I will mark it as fixed.
For now @wmnnd you can use this workaround http://plnkr.co/edit/aYU6JbcAnSYfN1sqAbMp?p=preview avoiding to give a name to the looped elements