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

Extracting the values #1

Open
Zorrow2008 opened this issue Jun 28, 2017 · 1 comment
Open

Extracting the values #1

Zorrow2008 opened this issue Jun 28, 2017 · 1 comment

Comments

@Zorrow2008
Copy link

Hello,

Once I select the different options, how would I be able to get those choices in the manager and put them into a collection?

Thanks for the package!

@brucejo75
Copy link
Owner

Hello @Zorrow2008,

Check out this line:. That is where the arr variable is updated.
Explanation:

  1. The config options allow you to set up an onChange event. Each time any parameter changes in the multi-select the onChange event will fire.
  2. When it fires I set one of the arr values corresponding to the element that changed. Set a breakpoint on that line and take a look around when you are running it.
  3. Instead of the arr variable go ahead and do whatever you want, e.g. make a collection call to set a document or call a method to send the data to the server and load it into your collection.

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

No branches or pull requests

2 participants