Closed adelriosantiago closed 1 year ago
I created a demo with a use case for how rv-each
is handled and this works as intended, but to access the full path would be along the lines of items.0.todo, items.1.todo...etc. however there is no support at the moment for dynamic keypath within the loop if this is what you're asking for.
I came across the need to get the full keypath during the a routine call but I don't seem to know where to catch the full keypath for
rv-each
, I only get the partial path, example:For the data:
If I change the "get milk" and print the arguments of the binding in this line, I get:
As you can see it is only
item.todo
and notitems[0].todo
oritems[1].todo
or whatever the index is. How can I get the full path?