You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and also when we select multiple values (same) but different group, then it not shows on button label and nor it gives those selected value from this.refs.view.refs.multiselect.selectedOptions
The text was updated successfully, but these errors were encountered:
@kartik01 - I think this is just standard HTML form stuff, but I haven't updated the docs appropriately. From the https://davidstutz.github.io/bootstrap-multiselect/#methods docs, I can see that you can pass in a "label" as well. I think you want your groups to look like:
That way, to the end user, the form will look like you are selecting "2" under "Group Two", but what's returned in the data would be "g2-2" (so you know which group it came from. Does that make sense? (this is untested code, but would be the same way a standard <form /> with <option> and <optgroup> tags would work.
onChange giving same index for each 1,2,3 either of Group One or of Group Two i.e 0,1,2 respectively
and also when we select multiple values (same) but different group, then it not shows on button label and nor it gives those selected value from
this.refs.view.refs.multiselect.selectedOptions
The text was updated successfully, but these errors were encountered: