Pass data from widget to an embedded widget

Tommy Jensen
Giga Guru

I have a widget that display a set of items in an ng-repeat. Within those blocks I want to embed another widget and pass a unique sysid to this child widget. I have tried with the options parameter on the widget directive. And it works sort of. The problem is that all the child widgets get the same sysid passed even though I know what I try to pass is unique. All the child widgets displays the last sysid.

Anybody know how to do this?

1 ACCEPTED SOLUTION

sndangibbard
Mega Guru

It sounds like you might have an issue with your loop, can you post your HTML template an example of the data you are looping through?


View solution in original post

5 REPLIES 5

leo48
Tera Contributor

Hey, check the youtube vidoe i made for pass data between 2 widgets https://www.youtube.com/watch?v=LooT596ZhtQ