self.children returns empty list #307
Unanswered
gitkwarteng
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have three components, i.e, receive-inventory, receive-search and receive-table. receive-search and receive-table are loaded as children of receive-inventory. calling a method from receive-search with parent.do_something() works. but looping through receive-inventory.children returns empty list. receive-inventory is loaded into a normal Django view. is there something am not doing right ?
what am actually trying to achieve is that, when an item is search with receive-search, the item is passed to the parent receive-inventory component and then, the item is passed to receive-table component to add to table list. is it possible for receive-search and receive-table to communicate directly without the parent or there's a better way to achieve this. thanks
Beta Was this translation helpful? Give feedback.
All reactions