Closed MatheoPons closed 2 years ago
It is fixed. Now components can be accessed through their ids within the context of an iterator and it will find the right component (the one within the current iteration). $c('my-component')
is contextual to the iterator if $c
is invoked from a component within an iterator (same with event targets). On the other hand, if the $c
is used outside of an iterator, the behaviour remains unchanged.
This improvement does not imply any change for the user (the API remains unchanged, just the behaviour is enhanced and more consistent).
If you create an iterator inside another iterator. It's close to impossible to setup a simple Pagination Component for the inner iterator.
Example: