Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getSelectedItemData() and more elements #412

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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