Skip to content

Conversation

giuseppetano89
Copy link

I'm really interesting in function getSelectedItemData() who it's able to connect an item to another one

data: [
{"character": "Cyclops", "realName": "Scott Summers"},
{"character": "Professor X", "realName": "Charles Francis Xavier"},
{"character": "Mystique", "realName": "Raven Darkholme"},
{"character": "Magneto", "realName": "Max Eisenhardt"}
]

But, what I'm trying to do is to connect first element to the more items.
EXAMPLE:

Cyclops ----> Scott Summers, Max Eisenhardt, ecc, ecc

So, if a have an item that it has more elements inside, I can select these elements with a dropdown. Otherwhise, if the first element has only one item, it should be works normally.

Is it possible to do this?
Thanks in advance

@giuseppetano89 giuseppetano89 changed the title Develop getSelectedItemData() and more elements Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants