select2 plugin multiple value selection
select2 plugin multiple value selection
alpaltunel
Posts: 14Questions: 3Answers: 0
in Plug-ins
I post a comment to the related extension but it is not seen.
if you set multiple=multiple to select value it shows the values perfectly like
x option A, x option B..
if you click x option is deselected. when you try to save this value it saves it as Array not like 2,3,4 which usually select2 saves. can you please help
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
finally I solved the situation.
for anybody needs help please update the documentation allan
in js file:
....
multiple tag is added .......
array functions added
Hi,
Thanks for posting this - what I'll do is add an option to the plug-in that provides the option to indicate that multiple values can be used and how they should be combined (if they should be - sometimes an array can be useful!).
It will be a few days before I do so, but I've made a note to make sure it gets done :-)
Allan
maybe adding a select2m (multiple) plugin does the trick? because we can use same select with multiple or not.
Is there any updated revision of the select2 plugin yet to support multiple values with custom separator?
Thanks,
Denis
Does Select2 offer a separator option? I don't immediately see anything about that in the Select2 documentation.
Allan