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

Commit selected element along with the index on change event #2971

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DZunke
Copy link

@DZunke DZunke commented Apr 12, 2018

Summary

I have build a small external listener to chosen that builds some custom "null" Elements for selection complete optgroups with a single click. These "All of "-Elements have a simple null value and nothing more then the name to get them. The Index of Chosen is the thing that had not helped me to get the selected element in the origin select box (the hidden form element).

So i added selected_element along with selected and deselected_element along with deselected. These are additional information that will be send along with the change event to the hidden select element.

I have not added the fields to code parts that does not have the selected or deselected fields.

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.

None yet

1 participant